From 78cab5331a78d27b084a04c0d8e302a51d5d2c4d Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Sat, 6 Sep 2025 19:21:55 -0400 Subject: [PATCH] chore(groq test): skip completions tests for groq, api is not supported server-side (#3347) # What does this PR do? skip /v1/completions tests on groq, endpoint is not supported Co-authored-by: raghotham --- tests/integration/inference/test_openai_completion.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/inference/test_openai_completion.py b/tests/integration/inference/test_openai_completion.py index 2043f6aeb..aee75b21d 100644 --- a/tests/integration/inference/test_openai_completion.py +++ b/tests/integration/inference/test_openai_completion.py @@ -37,6 +37,9 @@ def skip_if_model_doesnt_support_openai_completion(client_with_models, model_id) "remote::sambanova", "remote::tgi", "remote::vertexai", + # {"error":{"message":"Unknown request URL: GET /openai/v1/completions. Please check the URL for typos, + # or see the docs at https://console.groq.com/docs/","type":"invalid_request_error","code":"unknown_url"}} + "remote::groq", "remote::gemini", # https://generativelanguage.googleapis.com/v1beta/openai/completions -> 404 ): pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support OpenAI completions.")