mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix(main.py): keep client consistent across calls + exponential backoff retry on ratelimit errors
This commit is contained in:
parent
5963d9d283
commit
a7222f257c
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