Skip to content

Commit 9252d9f

Browse files
mattfraghotham
andauthored
chore(groq test): skip with_n tests for groq, it is not supported server-side (#3346)
# What does this PR do? skip the with_n test for groq, because it isn't supported by the provider's service see https://console.groq.com/docs/openai#currently-unsupported-openai-features Co-authored-by: raghotham <[email protected]>
1 parent bf02cd8 commit 9252d9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration/inference/test_openai_completion.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def skip_if_doesnt_support_n(client_with_models, model_id):
6464
if provider.provider_type in (
6565
"remote::sambanova",
6666
"remote::ollama",
67+
# https://console.groq.com/docs/openai#currently-unsupported-openai-features
68+
# -> Error code: 400 - {'error': {'message': "'n' : number must be at most 1", 'type': 'invalid_request_error'}}
69+
"remote::groq",
6770
# Error code: 400 - [{'error': {'code': 400, 'message': 'Only one candidate can be specified in the
6871
# current model', 'status': 'INVALID_ARGUMENT'}}]
6972
"remote::gemini",

0 commit comments

Comments
 (0)