codeinterpreter-api
codeinterpreter-api copied to clipboard
AI: Sorry, something went while generating your response.Please try again or restart the session.
Using Azure openAI with Python 3.9.16
the same error, using Azure OpenAI with Python 3.10.12
Same issue here Python 3.9.18. Has anyone resolved it?
EDIT:
For anyone getting this error this is how I resolved it:
I added the following to my .env
VERBOSE=True
This gave me a more detailed error message which alerted me to the fact that I did not have access to the GPT-4 API. The error message contained this link which explained that I needed to enable billing and purchase prepaid credits for API access. I purchased $5 worth of prepaid credits and waited around 5 minutes and tried running my script again it worked.
Hi, can I know how do you set your env? Thank you.
Hi, can I know how do you set your env? Thank you.
from codeinterpreterapi.config import settings
settings.VERBOSE = True
The same error occurs. Is there any update?
Hi, can I know how do you set your env? Thank you.
I just added the following line to a file called .env in the root directory of my project.
VERBOSE=True
However note that this will not solve the issue but it may give more information about what's going wrong.