openai-multi-client icon indicating copy to clipboard operation
openai-multi-client copied to clipboard

Catch rate limit error

Open ahbalin opened this issue 2 years ago • 1 comments

Hello, do you have any idea on how to catch openai.error.RateLimitError and have None in response ? What I did is a try and except block in make_requests(), but I was wondering if there was another way to handle it, maybe a parameter that I missed somewhere ? I am already using concurrency as 8, default is 10. Thanks !

ahbalin avatar Jul 12 '23 09:07 ahbalin

increase wait time or update your account‘s api tier by charge for it.,,or upload jsonl file to batch api (then wait 24h for download result file),

gigberg avatar Apr 28 '24 13:04 gigberg