forked from phoenix/litellm-mirror
Update litellm/tests/test_bad_params.py
This commit is contained in:
parent
e1b880179e
commit
be70e09c6e
1 changed files with 2 additions and 2 deletions
|
@ -26,13 +26,13 @@ litellm.failure_callback = ["slack", "sentry", "posthog"]
|
|||
|
||||
user_message = "Hello, how are you?"
|
||||
messages = [{ "content": user_message,"role": "user"}]
|
||||
model_val = "krrish is a model"
|
||||
model_val = ""
|
||||
|
||||
|
||||
def test_completion_with_empty_model():
|
||||
# test on empty
|
||||
try:
|
||||
response = completion(model=model_val, messages=messages)
|
||||
response = completion(model="", messages=messages)
|
||||
except Exception as e:
|
||||
print(f"error occurred: {e}")
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue