Different retry logic for Validation error vs Rate limits #1444
Unanswered
samgregson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For validation errors I would like:
Whereas for openai.RateLimitError I would like:
How do I make this happen?
I originally had this:
However I realise that this doesn't work as if there is a validation error and then a retry error it'll wipe the validation errors as if starting again from scratch. I don't want to keep retrying for validation errors as it will likely not recover, but for rate limits I am happy to wait until I can retry successfully.
Beta Was this translation helpful? Give feedback.
All reactions