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]

refactor(types): keep a2a response_dict annotation as it was

Devin AIe0b92b2b257b
diff --git a/litellm/proxy/agent_endpoints/a2a_endpoints.py b/litellm/proxy/agent_endpoints/a2a_endpoints.py
index faf3e98a3a7..834c16ba6dc 100644
--- a/litellm/proxy/agent_endpoints/a2a_endpoints.py
+++ b/litellm/proxy/agent_endpoints/a2a_endpoints.py
@@ -880,7 +880,7 @@ async def invoke_agent_a2a(
logging_obj._enqueue_deferred_logging = None
_enqueue_fn()
- response_dict: Final[dict[str, object]] = (
+ response_dict: Final[dict[str, Any]] = (
response.model_dump(mode="json", exclude_none=True)
if hasattr(response, "model_dump")
else response