adk-python
adk-python copied to clipboard
Grounding metadata extraction when using Vertex AI search tool with Gemini models is incorrect under certain conditions
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.