mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fixing exception handling test
This commit is contained in:
parent
ffde46c1a1
commit
05aa99fde3
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def test_context_window(model):
|
|||
try:
|
||||
azure = model == "chatgpt-test"
|
||||
print(f"model: {model}")
|
||||
response = completion(model=model, messages=messages, custom_llm_provider=custom_llm_provider, logger_fn=logging_fn)
|
||||
response = completion(model=model, messages=messages, custom_llm_provider="azure", logger_fn=logging_fn)
|
||||
print(f"response: {response}")
|
||||
except InvalidRequestError:
|
||||
print("InvalidRequestError")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue