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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test: Skip anthropic model test when ANTHROPIC_API_KEY is not set
Yuta Saito1ae9189ff879
diff --git a/tests/mcp_tests/test_aresponses_api_with_mcp.py b/tests/mcp_tests/test_aresponses_api_with_mcp.pyindex 57c79039ee0..6c8f51201d8 100644--- a/tests/mcp_tests/test_aresponses_api_with_mcp.py+++ b/tests/mcp_tests/test_aresponses_api_with_mcp.py@@ -683,6 +683,10 @@ async def test_streaming_responses_api_with_mcp_tools(Return the user the result of request 2"""+ # Skip test if ANTHROPIC_API_KEY is not set for anthropic models+ if "anthropic" in model.lower() and not os.getenv("ANTHROPIC_API_KEY"):+ pytest.skip("ANTHROPIC_API_KEY not set, skipping anthropic model test")+from unittest.mock import AsyncMock, patchprint("🧪 Testing basic streaming with MCP tools...")