From f95049bbe9fd5aef5b654c5764c17e5b3bba2db7 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 20 Sep 2023 20:36:44 -0700 Subject: [PATCH] test or --- litellm/tests/test_completion.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index c1433d3250..ce5fece195 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -147,6 +147,7 @@ def test_completion_with_litellm_call_id(): # ) # # Add any assertions here to check the response # print(response) +# # except Exception as e: # pytest.fail(f"Error occurred: {e}") @@ -297,6 +298,8 @@ def test_completion_openai_litellm_key(): # commented out for now, as openrouter is quite flaky - causing our deployments to fail. Please run this before pushing changes. # def test_completion_openrouter(): # try: +# print(litellm.openrouter_models) +# # litellm.set_verbose = True # response = completion( # model="google/palm-2-chat-bison", # messages=messages, @@ -307,6 +310,7 @@ def test_completion_openai_litellm_key(): # print(response) # except Exception as e: # pytest.fail(f"Error occurred: {e}") +# test_completion_openrouter() def test_completion_openai_with_more_optional_params(): try: