I only ran the example below and reported an error. Is there anything else I need to configure? Did you not clarify?
Traceback (most recent call last):
File "/home/lhs/PycharmProjects/all_gpt_project/code_interpreter_api/codeinterpreter-api-master/examples/use_additional_tools.py", line 49, in
asyncio.run(main())
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/home/lhs/PycharmProjects/all_gpt_project/code_interpreter_api/codeinterpreter-api-master/examples/use_additional_tools.py", line 36, in main
async with CodeInterpreterSession(tools=[ExampleKnowledgeBaseTool()]) as session:
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/codeinterpreterapi/session.py", line 250, in aenter
await self.astart()
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/codeinterpreterapi/session.py", line 53, in astart
await self.codebox.astart()
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/codeboxapi/box/localbox.py", line 129, in astart
await self._acheck_port()
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/codeboxapi/box/localbox.py", line 174, in _acheck_port
response = await self.session.get(f"http://localhost:{self.port}")
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/opt/anaconda3/envs/all_gpt_project/lib/python3.9/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f4ff22d1220>