googleapis / googleapis/python-genai
Spurious warnings when using candidate_count > 1 and schema is specified
Open
priority: p2
type: question
- Dominant language
- Python
- Stars
- 4k
- Forks
- 1k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 40
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.