From 8d9e2574cf219bf9db9c6ade4d9a7a1d11eae009 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Mon, 6 Nov 2023 13:32:53 -0800 Subject: [PATCH] (test) add gpt-4-turbo --- litellm/tests/test_completion.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index b4394d3459..0e43d70a4c 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -110,6 +110,18 @@ def test_completion_with_litellm_call_id(): pytest.fail(f"Error occurred: {e}") # test_completion_with_litellm_call_id() +def test_completion_gpt4_turbo(): + try: + response = completion( + model="gpt-4-1106-preview", + messages=messages, + max_tokens=10, + ) + print(response) + except Exception as e: + pytest.fail(f"Error occurred: {e}") +# test_completion_gpt4_turbo() + def test_completion_perplexity_api(): try: # litellm.set_verbose=True