googleapis / googleapis/python-genai

Spurious warnings when using candidate_count > 1 and schema is specified

Open
#585 4 comments 2 reactions 2 assignees Claimed by @sararob View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.