From ac6bc79e54221f3d08c0ed2b7b90b1f8ba24ac2c Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Thu, 28 May 2026 03:05:01 +0000 Subject: [PATCH] fix(a2a): drop dead headers option from discoverAgentCardCall The backend /v1/a2a/discover endpoint no longer accepts a headers field (removed in 78591b2 for SSRF safety), so any headers passed through DiscoverAgentCardOptions were silently discarded by the API request body. Remove the field and the conditional that copies it onto the request body. --- ui/litellm-dashboard/src/components/networking.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsx index 4e22c6e20a8..aa5e08d195f 100644 --- a/ui/litellm-dashboard/src/components/networking.tsx +++ b/ui/litellm-dashboard/src/components/networking.tsx @@ -6342,7 +6342,6 @@ export interface DiscoverAgentCardOptions { discovery_mode?: DiscoveryMode; /** Mode-specific params. ``langgraph_platform`` requires ``assistant_id``. */ params?: Record; - headers?: Record; } export const discoverAgentCardCall = async ( @@ -6354,7 +6353,6 @@ export const discoverAgentCardCall = async ( const body: Record = { url }; if (options?.discovery_mode) body.discovery_mode = options.discovery_mode; if (options?.params) body.params = options.params; - if (options?.headers) body.headers = options.headers; const response = await fetch(endpoint, { method: "POST",