mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
test or
This commit is contained in:
parent
20e86e6a05
commit
f95049bbe9
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue