From f4e98f715a0e650547530ce3e9694a1dcdc9b012 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 23 Oct 2025 18:07:28 -0700 Subject: [PATCH] fix linting --- litellm/proxy/search_endpoints/search_tool_management.py | 7 +++---- litellm/proxy/search_endpoints/search_tool_registry.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/litellm/proxy/search_endpoints/search_tool_management.py b/litellm/proxy/search_endpoints/search_tool_management.py index e3844b5284..095d756a9e 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, Union from fastapi import APIRouter, Depends, HTTPException from pydantic import BaseModel @@ -11,7 +11,6 @@ from litellm._logging import verbose_proxy_logger from litellm.proxy.auth.user_api_key_auth import user_api_key_auth from litellm.proxy.search_endpoints.search_tool_registry import SearchToolRegistry from 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 result diff --git a/litellm/proxy/search_endpoints/search_tool_registry.py b/litellm/proxy/search_endpoints/search_tool_registry.py index 174f9f6b08..bab92d21de 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, Optional from litellm._logging import verbose_proxy_logger from litellm.litellm_core_utils.safe_json_dumps import safe_dumps