You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
fix: Make all parts of a thought event be marked as thought
PiperOrigin-RevId: 857218905
This commit is contained in:
committed by
Copybara-Service
parent
7dc6adf4e5
commit
f92d4e397f
@@ -443,7 +443,8 @@ class RemoteA2aAgent(BaseAgent):
|
||||
and event.content is not None
|
||||
and event.content.parts
|
||||
):
|
||||
event.content.parts[0].thought = True
|
||||
for part in event.content.parts:
|
||||
part.thought = True
|
||||
elif (
|
||||
isinstance(update, A2ATaskStatusUpdateEvent)
|
||||
and update.status
|
||||
|
||||
Reference in New Issue
Block a user