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
Fix linting
yuneng-jiang67bca6dde4aa
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex 9a582814a55..4acd2639d8f 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -9578,7 +9578,7 @@ async def get_config(): # noqa: PLR0915"""Process a single callback and return its data with environment variables"""env_vars = CustomLogger.get_callback_env_vars(_callback)- env_vars_dict = {}+ env_vars_dict: dict[str, str | None] = {}for _var in env_vars:env_variable = environment_variables.get(_var, None)if env_variable is None: