We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calls like https://github.com/minimaxir/simpleaichat/blob/main/simpleaichat/chatgpt.py#L311 may cause us to wait very long for a response. Things go wrong with networks and OpenAI, and the call will only be terminated when the TCP timeout limit is reached and the socket destroyed.
The code already retrieves the OpenAI API key from an env var, so perhaps the same approach can be used for timeouts?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Calls like https://github.com/minimaxir/simpleaichat/blob/main/simpleaichat/chatgpt.py#L311 may cause us to wait very long for a response. Things go wrong with networks and OpenAI, and the call will only be terminated when the TCP timeout limit is reached and the socket destroyed.
The code already retrieves the OpenAI API key from an env var, so perhaps the same approach can be used for timeouts?
The text was updated successfully, but these errors were encountered: