googleapis / googleapis/python-genai
candidate_count parameter not working for gemini-3-pro-preview
- Lingua principale
- Python
- Stelle
- 4k
- Fork
- 1k
- Merge medio
- 2g 12h
- PR unite (30g)
- 41
Descrizione
I’m getting this error when trying to request multiple candidates::
ClientError: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'Multiple candidates is not enabled for this model', 'status': 'INVALID_ARGUMENT'}}
Environment details:
- Programming language: Python
- Package version: 1.51.0
Code snippet:
client.models.generate_content(
model='gemini-3-pro-preview',
contents='What is the capital of the moon?',
config={
"candidate_count": 2
},
)
Is this working as intended? And is support for multiple candidates planned for this model?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.