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 <rsm@meta.com>
This commit is contained in:
Matthew Farrellee 2025-09-06 15:35:30 -04:00 committed by GitHub
parent bf02cd846f
commit 9252d9fc01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,9 @@ def skip_if_doesnt_support_n(client_with_models, model_id):
if provider.provider_type in (
"remote::sambanova",
"remote::ollama",
# https://console.groq.com/docs/openai#currently-unsupported-openai-features
# -> Error code: 400 - {'error': {'message': "'n' : number must be at most 1", 'type': 'invalid_request_error'}}
"remote::groq",
# Error code: 400 - [{'error': {'code': 400, 'message': 'Only one candidate can be specified in the
# current model', 'status': 'INVALID_ARGUMENT'}}]
"remote::gemini",