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(proxy): isolate environment variable encryption
Yuneng Jiang77a5e2cb64a0
diff --git a/tests/test_litellm/proxy/proxy_server/test_proxy_config.py b/tests/test_litellm/proxy/proxy_server/test_proxy_config.pyindex 9ba881ac30b..48eeb39fecf 100644--- a/tests/test_litellm/proxy/proxy_server/test_proxy_config.py+++ b/tests/test_litellm/proxy/proxy_server/test_proxy_config.py@@ -1252,6 +1252,7 @@ async def test_ProxyConfig_save_config_persists_unchanged_environment_variables_"litellm_settings": {},"environment_variables": {"OPENAI_API_KEY": "sk-explicit"},}+ monkeypatch.setattr("litellm.proxy.proxy_server.master_key", "sk-test-salt-key")await proxy_config.save_config(config)