-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
a2a[Component] This issue is related a2a support inside ADK.[Component] This issue is related a2a support inside ADK.needs review[Status] The PR/issue is awaiting review from the maintainer[Status] The PR/issue is awaiting review from the maintainer
Description
Describe the bug
All messages are converted to thoughts when using a2a remote agent.
This is because:
if event.content and update.status.state in [
TaskState.submitted,
TaskState.working,
]:
for part in event.content.parts:
part.thought = Truecode in agents/remote_a2a_agent.py
This is not appropriate as it converts genuine content messages into thoughs. Removing this code fixes the problem.
To Reproduce
Use remote a2a connection in version 1.20 or 1.19
Expected behavior
Nature of a2a should be respected and not blindly converting all of them to thoughts.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. macOS, Linux, Windows] Linux
- Python version(python -V): 3.13
- ADK version(pip show google-adk): 1.20
Model Information:
- Are you using LiteLLM: Yes
- Which model is being used(e.g. gemini-2.5-pro) - Bedrock
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a2a[Component] This issue is related a2a support inside ADK.[Component] This issue is related a2a support inside ADK.needs review[Status] The PR/issue is awaiting review from the maintainer[Status] The PR/issue is awaiting review from the maintainer