fix(main.py): ignore model_config param

This commit is contained in:
Krrish Dholakia 2024-05-14 19:03:17 -07:00
parent ddfb9183b9
commit d8ecda3310
2 changed files with 5 additions and 2 deletions

View file

@ -10,7 +10,7 @@ import os, io, asyncio
sys.path.insert(
0, os.path.abspath("../..")
) # Adds the parent directory to the system path
import pytest
import pytest, time
import litellm
from litellm import embedding, completion, completion_cost, Timeout
from litellm import RateLimitError
@ -159,7 +159,7 @@ def test_chat_completion(client):
response = client.post("/chat/completions", json=test_data, headers=headers)
print("made request", response.status_code, response.text)
print("LiteLLM Callbacks", litellm.callbacks)
asyncio.sleep(1) # sleep while waiting for callback to run
time.sleep(1) # sleep while waiting for callback to run
print(
"my_custom_logger in /chat/completions",