forked from phoenix/litellm-mirror
fix test_chat_completion_different_deployments
This commit is contained in:
parent
06cd413467
commit
d409ffbaa9
2 changed files with 3 additions and 3 deletions
|
@ -73,14 +73,14 @@ model_list:
|
|||
api_key: my-fake-key
|
||||
api_base: https://exampleopenaiendpoint-production.up.railway.app/
|
||||
stream_timeout: 0.001
|
||||
rpm: 100
|
||||
rpm: 1000
|
||||
- model_name: fake-openai-endpoint-3
|
||||
litellm_params:
|
||||
model: openai/my-fake-model-2
|
||||
api_key: my-fake-key
|
||||
api_base: https://exampleopenaiendpoint-production.up.railway.app/
|
||||
stream_timeout: 0.001
|
||||
rpm: 100
|
||||
rpm: 1000
|
||||
- model_name: "*"
|
||||
litellm_params:
|
||||
model: openai/*
|
||||
|
|
|
@ -309,7 +309,7 @@ async def test_chat_completion_different_deployments():
|
|||
# key_gen = await generate_key(session=session)
|
||||
key = "sk-1234"
|
||||
results = []
|
||||
for _ in range(5):
|
||||
for _ in range(20):
|
||||
results.append(
|
||||
await chat_completion_with_headers(
|
||||
session=session, key=key, model="fake-openai-endpoint-3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue