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
chore: fix test
jayden9ca156050128
diff --git a/tests/proxy_unit_tests/test_proxy_server.py b/tests/proxy_unit_tests/test_proxy_server.pyindex 59b9297d1b2..047193055d8 100644--- a/tests/proxy_unit_tests/test_proxy_server.py+++ b/tests/proxy_unit_tests/test_proxy_server.py@@ -2787,7 +2787,9 @@ async def test_update_config_success_callback_normalization():# Update config with mixed-case callbacks - expect normalization to lowercaseconfig_update = ConfigYAML(litellm_settings={"success_callback": ["SQS", "sQs"]})- await proxy_server.update_config(config_update)+ from litellm.proxy._types import LitellmUserRoles, UserAPIKeyAuth+ admin_user = UserAPIKeyAuth(user_role=LitellmUserRoles.PROXY_ADMIN, api_key="sk-test")+ await proxy_server.update_config(config_update, user_api_key_dict=admin_user)saved = mock_proxy_config.saved_configassert saved is not None, "save_config was not called"