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]

test(e2e): pin the a2a bridge agent's Anthropic key so message/send works (#34512)

mubashir1osmani0d483a7df920
diff --git a/tests/e2e/a2a/a2a_client.py b/tests/e2e/a2a/a2a_client.py
index 97ffa8c34a3..3835ef64220 100644
--- a/tests/e2e/a2a/a2a_client.py
+++ b/tests/e2e/a2a/a2a_client.py
@@ -85,6 +85,7 @@ class A2ABridgeParams(BaseModel):
custom_llm_provider: str
model: str
+ api_key: str | None = None
class AgentRegisterBody(BaseModel):
diff --git a/tests/e2e/a2a/test_a2a_agent_e2e.py b/tests/e2e/a2a/test_a2a_agent_e2e.py
index aa60b57f99b..4b05dbeb3ed 100644
--- a/tests/e2e/a2a/test_a2a_agent_e2e.py
+++ b/tests/e2e/a2a/test_a2a_agent_e2e.py
@@ -32,7 +32,11 @@ from e2e_config import unique_marker
from e2e_http import Result, UnknownApiError, unwrap
from lifecycle import ResourceManager
-BRIDGE = A2ABridgeParams(custom_llm_provider="anthropic", model="claude-haiku-4-5")
+BRIDGE = A2ABridgeParams(
+ custom_llm_provider="anthropic",
+ model="claude-haiku-4-5",
+ api_key="os.environ/ANTHROPIC_API_KEY",
+)
MOVEHOME_AGENT_CARD_URL = "https://movehome.org/.well-known/agent.json"
MOVEHOME_ORIGIN = "https://movehome.org"