googleapis / googleapis/python-genai

Spurious warnings when using candidate_count > 1 and schema is specified

Aperta
#585 4 commenti 2 reazioni 2 assegnatari Rivendicata da @sararob Vedi su GitHub
priority: p2 type: question
Lingua principale
Python
Stelle
4k
Fork
1k
Merge medio
2g 12h
PR unite (30g)
41

Descrizione

Specifying candidate_count > 1 and a schema in `GenerateContentConfig` leads to spurious warnings emitted from https://github.com/googleapis/python-genai/blob/f797294d08030a070648aea6702ff1dc5f2b8f41/google/genai/types.py#L3027 due to the access here: https://github.com/googleapis/python-genai/blob/f797294d08030a070648aea6702ff1dc5f2b8f41/google/genai/types.py#L3196

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.