Context: Been running gpt-4 chat completion for the longest time with no issues. Today, it started to produce the following error.
“The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error.”
Solution: I switched my model to gpt-4-0125-preview and now it’s fine. I have no idea why.
I have been getting this error consistently since last night on the streaming endpoint with gpt-4:
openai.APIError: An error occurred during streaming
I have created a minimal example based on the docs to test and get the same.
Client version 1.12.0
from openai import OpenAI
client = OpenAI()
stream = client.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "Say this is a test"}],
stream=True,
)
for chunk in stream:
print(chunk.choices[0].delta.content or "", end="")
I do not see anything on the status page but it seems like something broke server side.
not resolved at all, I keep receiving the same error message
“Something went wrong. If this issue persists please contact us through our help center at help.openai.com.”
If you are in ChatGPT - the web page chatbot - it is not the same issue. The concerns in this topic were about a particular developer API model that is not used by ChatGPT.