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
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_migration_projects
Yuneng Jiang000ce70127c5
diff --cc litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyindex c4d89ea7a48,1523e1cb9be..7b71d468e95--- a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py+++ b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py@@@ -101,9 -97,31 +101,26 @@@ class UISettings(BaseModel)forward_client_headers_to_llm_api: bool = Field(default=False,- description="If enabled, forwards client headers (e.g. Authorization) to the LLM API. Required for Claude Code with Max subscription.",+ description=(+ "Forwards client headers (Authorization, anthropic-beta, and x-* "+ "custom headers) to the upstream LLM. Enable for Claude Code with a "+ "Max subscription (forwards the OAuth token) or to pass custom/tracing "+ "headers through to the provider. Independent of the BYOK toggle — "+ "enable only the one(s) you need."+ ),+ )++ forward_llm_provider_auth_headers: bool = Field(+ default=False,+ description=(+ "Forwards provider auth headers (x-api-key, x-goog-api-key, api-key, "+ "ocp-apim-subscription-key) to the upstream LLM, overriding any "+ "deployment-configured key for that request. Enable for Claude Code "+ "BYOK (clients bring their own API key). Independent of the "+ "client-headers toggle — enable only the one(s) you need."+ ),)- enable_projects_ui: bool = Field(- default=False,- description="If enabled, shows the Projects feature in the UI sidebar and the project field in key management.",- )-disable_agents_for_internal_users: bool = Field(default=False,description="If true, internal users cannot access agent management endpoints or the Agents page in the UI.",@@@ -148,6 -166,8 +165,7 @@@ ALLOWED_UI_SETTINGS_FIELDS ="enabled_ui_pages_internal_users","require_auth_for_public_ai_hub","forward_client_headers_to_llm_api",+ "forward_llm_provider_auth_headers",- "enable_projects_ui","disable_agents_for_internal_users","allow_agents_for_team_admins","disable_vector_stores_for_internal_users",