Skip to content

Commit e944f08

Browse files
committed
fix: do not reset grounding metadata prematurely
1 parent 27f3391 commit e944f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/models/gemini_llm_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ async def receive(self) -> AsyncGenerator[LlmResponse, None]:
220220
text, last_grounding_metadata
221221
)
222222
text = ''
223-
last_grounding_metadata = None
223+
224224
yield llm_response
225225
# Note: in some cases, tool_call may arrive before
226226
# generation_complete, causing transcription to appear after

0 commit comments

Comments
 (0)