Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(tests): restore litellm_params=None on mock agent in a2a invoke test (#23125)

Joe Reyna36e04b6efee9
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 bfeabb6f7ca..dc6f90b62ed 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()