Skip to content

Stamina doesn't seem to catch openai.APITimeoutError #101

Closed Answered by hynek
paw-lu asked this question in Q&A
Discussion options

You must be logged in to vote

yeah I think as_completed works a bit unintuitively – have you considered using task groups? See also https://hynek.me/articles/waiting-in-asyncio/

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hynek
Comment options

Answer selected by paw-lu
@paw-lu
Comment options

@paw-lu
Comment options

@hynek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants