[Question/Bug?] A2A agent response in Playground displays raw JSON, not parsed text + Metadata #21981
Unanswered
techgeniuswang
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hi LiteLLM team,
I'm running into an issue with A2A agents in the Proxy Playground (LiteLLM v1.81.14 + a2a-sdk >=0.3.22 added to dependencies).
Problem description
When I send a message to my custom A2A agent via the Playground (using /v1/a2a/{agent_id}/message/send endpoint), the response is always displayed as raw JSON in the UI, instead of:
I have tried both common response formats recommended in the docs:
{ "jsonrpc": "2.0", "id": "...", "result": { "kind": "message", "messageId": "...", "role": "agent", "parts": [ { "kind": "text", "text": "Welcome call agent demo ----> TEST12345" } ] } }{ "jsonrpc": "2.0", "id": "...", "result": { "kind": "task", "id": "...", "contextId": "...", "status": { "state": "completed", "timestamp": "2026-02-24T03:15:06.385578+00:00" }, "artifacts": [ { "artifactId": "...", "name": "response", "parts": [ { "kind": "text", "text": "Welcome call agent demo ----> TEST12345" } ] } ] } }Both formats return 200 OK when tested with curl / raw HTTP, and the JSON is correct. But in Playground, it's always raw JSON dump, no text extraction, no Metadata panel.
Additional context:
Questions
Thanks for any help or pointers — really appreciate the great work on A2A support!Best,
Beta Was this translation helpful? Give feedback.
All reactions