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: fix unit test
Krrish Dholakia8ab1335ae0da
diff --git a/tests/pass_through_unit_tests/test_unit_test_anthropic_pass_through.py b/tests/pass_through_unit_tests/test_unit_test_anthropic_pass_through.pyindex 60284106b46..889e2aee1f0 100644--- a/tests/pass_through_unit_tests/test_unit_test_anthropic_pass_through.py+++ b/tests/pass_through_unit_tests/test_unit_test_anthropic_pass_through.py@@ -108,7 +108,7 @@ def test_create_anthropic_response_logging_payload(mock_logging_obj, metadata_pa"user_api_key": "88dc28d0f030c55ed4ab77ed8faf098196cb1c05df778539800c9f1243fe6b4b","user_api_key_user_id": "default_user_id","user_api_key_team_id": None,- "user_api_key_end_user_id": "default_user_id",+ "user_api_key_end_user_id": ("test" if metadata_params else ""),},"api_base": "https://api.anthropic.com/v1/messages",},