googleapis / googleapis/python-genai

Spurious warnings when using candidate_count > 1 and schema is specified

Offen
#585 4 Kommentare 2 Reaktionen 2 zugewiesene Personen Beansprucht von @sararob Auf GitHub ansehen
priority: p2 type: question
Vorherrschende Sprache
Python
Sterne
4k
Forks
1k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
41

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.