mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
add support message on exception
This commit is contained in:
parent
c1fce0859c
commit
eb1c7220ff
5 changed files with 6 additions and 1 deletions
|
@ -45,6 +45,7 @@ def test_context_window(model):
|
|||
with pytest.raises(ContextWindowExceededError):
|
||||
completion(model=model, messages=messages)
|
||||
|
||||
test_context_window(model="gpt-3.5-turbo")
|
||||
# Test 2: InvalidAuth Errors
|
||||
@pytest.mark.parametrize("model", models)
|
||||
def invalid_auth(model): # set the model key to an invalid key, depending on the model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue