googleapis / googleapis/python-genai

Unable to obtain grounding data from response. using "gemini-3.1-flash-lite-preview"

Open
#2,120 11 comments 4 reactions 1 assignee Claimed by @Venkaiahbabuneelam View on GitHub
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

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.