You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chatgpt.py, the backoff decorator for the chat function is incorrectly referencing openai.error.OpenAIError, which causes a ModuleNotFoundError as there appears to be no openai.error submodule. The way it worked for me was to reference OpenAI's error handling is directly through openai.OpenAIError.
In
chatgpt.py
, the backoff decorator for thechat
function is incorrectly referencingopenai.error.OpenAIError
, which causes aModuleNotFoundError
as there appears to be noopenai.error
submodule. The way it worked for me was to reference OpenAI's error handling is directly throughopenai.OpenAIError
.python v3.10.15
openai v1.51.2
graph-of-thoughts v0.0.2
Steps to reproduce:
chatgpt.py
e.g. via the controller:from graph_of_thoughts import controller
Before:
Solution:
The text was updated successfully, but these errors were encountered: