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
style: apply ruff format to router settings merge
mateo95e09db66147
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex ae5e08ab566..1bdf2ba9987 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -16346,9 +16346,7 @@ async def update_config(existing = await _read_section("router_settings")before_router_settings: Final = copy.deepcopy(existing)typed_router_settings: Final = (- config_info.router_settings.dict(exclude_none=True)- if config_info.router_settings is not None- else {}+ config_info.router_settings.dict(exclude_none=True) if config_info.router_settings is not None else {})raw_router_settings_without_none: Final = {key: value