Skip to content
New issue

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

Timeout #36

Closed
bomshteyn opened this issue Apr 24, 2023 · 4 comments
Closed

Timeout #36

bomshteyn opened this issue Apr 24, 2023 · 4 comments
Assignees

Comments

@bomshteyn
Copy link

Thank you for this great package!

I have been having a lot of jobs timing out with the following exception:

Symfony\Component\HttpClient\Exception\TimeoutException: Idle timeout reached for "https://api.openai.com/v1/chat/completions".

I see in the main PHP client there is a method to set the timeout limit, how can this be set using the Laravel facade? Do you think that method will address the issue?

@youngbobby
Copy link

Hopefully, it can be resolved soon. Having Timeout issues a lot too.

@MaximeGratens
Copy link

Same

@jackwh
Copy link

jackwh commented May 26, 2023

There's a recent bug/misconfiguration with OpenAI servers, which is causing connections to terminate after exactly 5 minutes. If you're generating lengthy outputs (>≈1.5K tokens) with GPT-4, this might explain it: openai/openai-python#399

This broke my integration, and has gone seemingly unnoticed by OpenAI for some time now... 😥

@gehrisandro
Copy link
Collaborator

@bomshteyn Please check if this is what you would expect: #45

cc @youngbobby @MaximeGratens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants