Skip to content

adk web does not show the message from a2a agent when the part contains the file #6215

Description

@nguoithichkhampha

Describe the Bug:
adk web UI show the empty block when display the message from a2a agent. The message contains both Part(text) and Part(File)

Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:

  1. Connect a2a agent to adk framework by using class RemoteA2aAgent
  2. Run the query and a2a agent response have both the text and file

Expected Behavior:
adk web UI show text normally include the block for the file info

Observed Behavior:
adk web show empty block

Environment Details:

  • ADK Library Version 2.2.0
  • Desktop OS: MacOS
  • Python Version : 3.12

Model Information:

  • Are you using LiteLLM: No
  • Which model is being used: gemini 3.5 flash

🟡 Optional Information

Providing this information greatly speeds up the resolution process.

Logs:
I added the log message inside the function convert_a2a_part_to_genai_part
text file.

2026-06-25 14:38:41,131 - DEBUG - part_converter.py:75 - Converting A2A FileWithUri to GenAI Part with uri: https://storage.googleapis.com/emotiv-agent-generated-image/test1/63ecccd8-a9b0-4701-9c7f-5417a6a991dd/002be84a-1236-4123-9090-30076cac492d_signal_quality.png, mime_type: image/png, name: 002be84a-1236-4123-9090-30076cac492d_signal_quality.png

Screenshots / Video:
when a2a agent send the file part + text part
Image

when a2a agent only send text part

Image

How often has this issue occurred?:

  • Always (100%)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions