From 36e04b6efee9e93abbf7804ef27ea4ed60b76a67 Mon Sep 17 00:00:00 2001 From: Joe Reyna Date: Mon, 9 Mar 2026 07:16:02 -0700 Subject: [PATCH] fix(tests): restore litellm_params=None on mock agent in a2a invoke test (#23125) --- tests/test_litellm/proxy/agent_endpoints/test_a2a_endpoints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_litellm/proxy/agent_endpoints/test_a2a_endpoints.py b/tests/test_litellm/proxy/agent_endpoints/test_a2a_endpoints.py index bfeabb6f7c..dc6f90b62e 100644 --- a/tests/test_litellm/proxy/agent_endpoints/test_a2a_endpoints.py +++ b/tests/test_litellm/proxy/agent_endpoints/test_a2a_endpoints.py @@ -46,6 +46,7 @@ async def test_invoke_agent_a2a_adds_litellm_data(): "url": "http://backend-agent:10001", "name": "Test Agent", } + mock_agent.litellm_params = None # Mock request mock_request = MagicMock()