From 590d191d453515a7a5fda0e2f2a5a6faedc7d832 Mon Sep 17 00:00:00 2001 From: Roy Miara Date: Wed, 6 Nov 2024 15:00:20 -0500 Subject: [PATCH] remove tests --- tests/system/llm/test_openai.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/system/llm/test_openai.py b/tests/system/llm/test_openai.py index 304d4a2b..abf530ed 100644 --- a/tests/system/llm/test_openai.py +++ b/tests/system/llm/test_openai.py @@ -70,15 +70,15 @@ def openai_llm(request): "Couldn't find Azure deployment name. Skipping Azure OpenAI tests." ) elif llm_class == AnyscaleLLM: - if os.getenv("ANYSCALE_API_KEY") is None: - pytest.skip("Couldn't find Anyscale API key. Skipping Anyscale tests.") - model_name = "mistralai/Mistral-7B-Instruct-v0.1" + pytest.skip( + "Anyscale is not supported Anymore as Anyscale removed LLM as-a-service support" + ) elif llm_class == OctoAILLM: if os.getenv("OCTOAI_API_KEY") is None: pytest.skip("Couldn't find OctoAI API key. Skipping OctoAI tests.") model_name = "mistral-7b-instruct" else: - model_name = "gpt-3.5-turbo-0613" + model_name = "gpt-4o-mini" return llm_class(model_name=model_name) @@ -310,9 +310,9 @@ def test_enforce_function_unsupported_model(openai_llm, if isinstance(openai_llm, AzureOpenAILLM): pytest.skip("Currently not tested in Azure") elif isinstance(openai_llm, AnyscaleLLM): - new_model_name = "meta-llama/Llama-2-7b-chat-hf" + pytest.skip("Currently not supported - Anyscale removed support") else: - new_model_name = "gpt-3.5-turbo-0301" + new_model_name = "gpt-4o-mini" with pytest.raises(NotImplementedError): openai_llm.enforced_function_call(