Skip to content

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

@satounity

Description

@satounity

(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

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions