Skip to content

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]

fix(proxy): use builtin dict annotation for gateway managed settings config

mateo6230a379b914
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 3e26d6230fd..a2d0a2cdcd0 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -2340,7 +2340,7 @@ class ConfigGeneralSettings(LiteLLMPydanticObjectBase):
None,
description="serve the Claude Code gateway protocol (https://code.claude.com/docs/en/claude-apps-gateway) under /claude_code_gateway: OAuth device-flow sign-in reusing proxy SSO, plus managed settings and OTLP telemetry ingestion. Off by default",
)
- claude_code_gateway_managed_settings: Dict[str, Any] | None = Field(
+ claude_code_gateway_managed_settings: dict[str, Any] | None = Field(
None,
description="Claude Code managed-settings.json served verbatim at the gateway's /claude_code_gateway/managed/settings endpoint. When unset the endpoint returns 404 (no managed policy)",
)