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
Ishaan Jafferf4e98f715a0e
diff --git a/litellm/proxy/search_endpoints/search_tool_management.py b/litellm/proxy/search_endpoints/search_tool_management.pyindex e3844b52848..095d756a9ec 100644--- a/litellm/proxy/search_endpoints/search_tool_management.py+++ b/litellm/proxy/search_endpoints/search_tool_management.py@@ -2,7 +2,7 @@CRUD ENDPOINTS FOR SEARCH TOOLS"""from datetime import datetime-from typing import Any, Dict, List, Union, cast+from typing import Any, Dict, List, Unionfrom fastapi import APIRouter, Depends, HTTPExceptionfrom pydantic import BaseModel@@ -11,7 +11,6 @@ from litellm._logging import verbose_proxy_loggerfrom litellm.proxy.auth.user_api_key_auth import user_api_key_authfrom litellm.proxy.search_endpoints.search_tool_registry import SearchToolRegistryfrom litellm.types.search import (- AvailableSearchProvider,ListSearchToolsResponse,SearchTool,SearchToolInfoResponse,@@ -307,8 +306,8 @@ async def delete_search_tool(search_tool_id: str):)verbose_proxy_logger.info(- f"Successfully deleted search tool from database. "- f"Router will be updated by the cron job."+ "Successfully deleted search tool from database. "+ "Router will be updated by the cron job.")return resultdiff --git a/litellm/proxy/search_endpoints/search_tool_registry.py b/litellm/proxy/search_endpoints/search_tool_registry.pyindex 174f9f6b088..bab92d21de8 100644--- a/litellm/proxy/search_endpoints/search_tool_registry.py+++ b/litellm/proxy/search_endpoints/search_tool_registry.py@@ -2,7 +2,7 @@Search Tool Registry for managing search tool configurations."""from datetime import datetime, timezone-from typing import Dict, List, Optional+from typing import List, Optionalfrom litellm._logging import verbose_proxy_loggerfrom litellm.litellm_core_utils.safe_json_dumps import safe_dumps