BricksLLM icon indicating copy to clipboard operation
BricksLLM copied to clipboard

How it handle errors

Open redigits-team opened this issue 1 year ago • 3 comments

We are developing some projects that occasionally trigger a 429 error due to exceeding our account’s usage limits, either because the applications make requests too quickly or because many users are using the applications simultaneously. Does BricksLLM handle this error by slowing down the requests to the OpenAI API, perhaps using retries or caching mechanisms?

redigits-team avatar Oct 07 '24 21:10 redigits-team

this is not handled by bricks as for now

spikelu2016 avatar Oct 08 '24 00:10 spikelu2016

this is not handled by bricks as for now

And could you suggest me How to handle this?

redigits-team avatar Oct 08 '24 07:10 redigits-team

With a failover to another account ? https://github.com/bricks-cloud/BricksLLM/blob/main/cookbook/openai_with_azure_openai_failover.md

beat avatar Oct 21 '24 15:10 beat