mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(router.py): fix least-busy routing
This commit is contained in:
parent
d9b115b8fb
commit
4bf875d3ed
8 changed files with 292 additions and 31 deletions
|
@ -226,10 +226,12 @@ def test_call_one_endpoint():
|
|||
)
|
||||
|
||||
print("\n response", response)
|
||||
tasks = []
|
||||
tasks.append(call_azure_completion())
|
||||
tasks.append(call_bedrock_claude())
|
||||
tasks.append(call_azure_embedding())
|
||||
|
||||
asyncio.run(call_azure_completion())
|
||||
asyncio.run(call_bedrock_claude())
|
||||
asyncio.run(call_azure_embedding())
|
||||
asyncio.gather(**tasks)
|
||||
|
||||
os.environ["AZURE_API_BASE"] = old_api_base
|
||||
os.environ["AZURE_API_KEY"] = old_api_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue