mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(router.py): fix exponential backoff to use retry-after if present in headers
This commit is contained in:
parent
7f34298ef8
commit
60d6b6bc37
7 changed files with 154 additions and 67 deletions
|
@ -74,6 +74,8 @@ def test_async_response_azure():
|
|||
|
||||
asyncio.run(test_get_response())
|
||||
|
||||
# test_async_response_azure()
|
||||
|
||||
def test_async_anyscale_response():
|
||||
import asyncio
|
||||
litellm.set_verbose = True
|
||||
|
@ -162,4 +164,4 @@ def test_get_response_non_openai_streaming():
|
|||
return response
|
||||
asyncio.run(test_async_call())
|
||||
|
||||
test_get_response_non_openai_streaming()
|
||||
# test_get_response_non_openai_streaming()
|
Loading…
Add table
Add a link
Reference in a new issue