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: set allow_client_tags on duplicate-tag merge test
user9622864ef200
diff --git a/tests/proxy_unit_tests/test_proxy_utils.py b/tests/proxy_unit_tests/test_proxy_utils.pyindex a84bf7a4e7c..916e01b0f2c 100644--- a/tests/proxy_unit_tests/test_proxy_utils.py+++ b/tests/proxy_unit_tests/test_proxy_utils.py@@ -842,12 +842,13 @@ async def test_add_litellm_data_to_request_duplicate_tags(mock_request.headers = {}mock_request.state = State()- # Setup key with tags in metadata+ # Setup key with tags in metadata. Opt into client-supplied tags so the+ # request_tags are preserved for the merge under test.user_api_key_dict = UserAPIKeyAuth(api_key="test_api_key",user_id="test_user_id",org_id="test_org_id",- metadata={"tags": key_tags},+ metadata={"tags": key_tags, "allow_client_tags": True},)# Setup request data with tags