mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(main.py): ignore model_config param
This commit is contained in:
parent
6de358cf21
commit
298fd9b25c
2 changed files with 5 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue