Skip to content

Grounding metadata extraction when using Vertex AI search tool with Gemini models is incorrect under certain conditions #3768

@slilichenko

Description

@slilichenko

Occasionally the grounding metadata is returned in a partial response and is missing in the final one (occurred with gemini-2.5-flash model). In this case the ADK event don't contain the grounding metadata node, which can be very misleading.

Metadata

Metadata

Assignees

Labels

core[Component] This issue is related to the core interface and implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions