mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) test exception mapping
This commit is contained in:
parent
b17fe8d6f5
commit
4473c48e2b
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ def test_completion_perplexity_exception_on_openai_client():
|
|||
|
||||
# delete perplexityai api key to simulate bad api key
|
||||
del os.environ["PERPLEXITYAI_API_KEY"]
|
||||
# del os.environ["OPENAI_API_KEY"]
|
||||
del os.environ["OPENAI_API_KEY"]
|
||||
response = completion(
|
||||
model="perplexity/mistral-7b-instruct",
|
||||
messages=[{"role": "user", "content": "hello"}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue