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(proxy): declare the web search settings auth dependency with Annotated
Yuneng Jiangd15ceab17479
diff --git a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyindex 36b90d37da8..a86b7732bcf 100644--- a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py+++ b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py@@ -6,6 +6,7 @@ from collections import Counterfrom collections.abc import Mapping, MutableMapping, Sequencefrom types import MappingProxyTypefrom typing import (+ Annotated,Final,NamedTuple,Protocol,@@ -1471,7 +1472,7 @@ async def update_mcp_semantic_filter_settings(response_model=WebSearchInterceptionSettingsResponse,)async def get_websearch_interception_settings(- user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),+ user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],):"""Get web search interception configuration.@@ -1502,7 +1503,7 @@ async def get_websearch_interception_settings()async def update_websearch_interception_settings(settings: WebSearchInterceptionSettings,- user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),+ user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],):"""Update web search interception settings in database.