mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(main.py): keep client consistent across calls + exponential backoff retry on ratelimit errors
This commit is contained in:
parent
3110b6d7d6
commit
9b582b2c85
9 changed files with 239 additions and 131 deletions
|
@ -105,7 +105,7 @@ class APIError(APIError): # type: ignore
|
|||
super().__init__(
|
||||
self.message,
|
||||
request=request, # type: ignore
|
||||
body=None,
|
||||
body=None
|
||||
)
|
||||
|
||||
# raised if an invalid request (not get, delete, put, post) is made
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue