googleapis / googleapis/python-genai
Unable to obtain grounding data from response. using "gemini-3.1-flash-lite-preview"
Open
priority: p2
type: bug
- Dominant language
- Python
- Stars
- 4k
- Forks
- 1k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 40
Description
(I don't know English so please excuse the machine translation.)
Grounding using Vertex AI Search in "gemini-3.1-flash-lite-preview".
No grounding data found in response.candidates[0].grounding_metadata.grounding_chunks.
[Example]
response = client.models.generate_content(...
...
print(response.candidates[0].grounding_metadata.grounding_chunks)
->No results
Contributor guide
Assessment
This issue has not been assessed yet.