From 7b205f99e1d29ee860f21e483c0b020a6a572ea4 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Tue, 2 Jun 2026 05:29:19 +0000 Subject: [PATCH] fix(a2a): send Accept header on WXO streaming run request --- litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py b/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py index 1401d4ff10a..074b9d199b2 100644 --- a/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py +++ b/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py @@ -310,6 +310,7 @@ class WatsonxOrchestrateHandler: auth_headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json", + "Accept": "text/event-stream, application/json", } text = WatsonxOrchestrateTransformation.extract_text_from_a2a_params(params) body = WatsonxOrchestrateTransformation.build_wxo_run_body(