codeinterpreter-api icon indicating copy to clipboard operation
codeinterpreter-api copied to clipboard

AI: Sorry, something went while generating your response.Please try again or restart the session.

Open nazkhan-8451 opened this issue 2 years ago • 6 comments

Using Azure openAI with Python 3.9.16

nazkhan-8451 avatar Aug 21 '23 13:08 nazkhan-8451

the same error, using Azure OpenAI with Python 3.10.12

huqianghui avatar Aug 22 '23 12:08 huqianghui

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.

DerrickAfrifa avatar Aug 25 '23 18:08 DerrickAfrifa

Hi, can I know how do you set your env? Thank you.

HelloAlgorithmBob avatar Sep 01 '23 15:09 HelloAlgorithmBob

Hi, can I know how do you set your env? Thank you.

from codeinterpreterapi.config import settings

settings.VERBOSE = True

panjie-payne avatar Sep 08 '23 10:09 panjie-payne

The same error occurs. Is there any update?

wakusei-meron- avatar Sep 15 '23 16:09 wakusei-meron-

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.

DerrickAfrifa avatar Sep 18 '23 09:09 DerrickAfrifa