Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

penut85420
Copy link

To fix the async API hang issue during message sending, allow setting a sock_read timeout to prevent program unresponsiveness from incomplete transmissions.

@sfarrell5123
Copy link

I think with gpt-4, and the rest api running slower, if you send a big request - it's quite slow, and blows past the default 5 minute timeout.

I even think you need an async method, send a job, get a ticket, check the ticket. Or send a job, poll the queue.

@suhjohn
Copy link

suhjohn commented Mar 23, 2023

much needed feature

@hallacy hallacy requested a review from ddeville April 8, 2023 01:05
@ddeville ddeville removed their request for review August 31, 2023 00:19
@rattrayalex
Copy link
Collaborator

This is resolved in v1, which was released earlier this week 🎉

stainless-app bot pushed a commit that referenced this pull request Mar 27, 2025
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

Successfully merging this pull request may close these issues.

4 participants