fix test_chat_completion_different_deployments

This commit is contained in:
Ishaan Jaff 2024-06-17 23:04:48 -07:00
parent 06cd413467
commit d409ffbaa9
2 changed files with 3 additions and 3 deletions

View file

@ -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/*

View file

@ -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"