codeinterpreter-api
codeinterpreter-api copied to clipboard
👾 Open source implementation of the ChatGPT Code Interpreter
Prompt: `Let's set up the following recurrence relation in sympy: `T(n) = 2T\left(\frac{n}{2}\right) + O(\frac{n}{ \log n})` The work done is computed in the `O()` portion, and the recurrence relation...
### This is my code: ```python from codeinterpreterapi import CodeInterpreterSession, File import os, dotenv import openai ### Lade Variabeln ### os.environ["OPENAI_API_KEY"] = "sk-XXXXXXXXXXX-Its my key:)YYYYYY" async def main(): # context...
hi bro, using this image generated by your library, if there are Chinese strings in it, the display will be garbled and all "口" will be displayed
I can run the code it shows that openai.error.InvalidRequestError: Unrecognized request argument supplied: functions "Traceback (most recent call last): File "C:\Users\83727\anaconda3\envs\py39\lib\site-packages\codeboxapi\box\localbox.py", line 567, in __del__ File "C:\Users\83727\anaconda3\envs\py39\lib\site-packages\codeboxapi\box\localbox.py", line 517, in...
Hi, I use it on Windows from command line and it works (at least the first time, then I have to open again cmd command. By the way if I...
The example isn't working as expected
While using streamlit there is no memory as session gets refreshed every time I am able to get memory through the backend by running multiple session.generate_response() but not through the...
In my streamlit app, the code interpreter works well but after a while when I refresh the code, the codebox interpreter seems to time out / die. I am storing...
I am getting the following error: File "pydantic/fields.py", line 638, in pydantic.fields.ModelField._type_analysis File "/usr/local/lib/python3.10/typing.py", line 1157, in __subclasscheck__ return issubclass(cls, self.__origin__) TypeError: issubclass() arg 1 must be a class. I'm...
```shell pip install --force-reinstall --no-cache-dir "codeinterpreterapi[all]" git clone https://github.com/shroominic/codeinterpreter-api.git cd codeinterpreter-api streamlit run frontend/app.py ``` ModuleNotFoundError: No module named 'frontend'