Skip to content

Commit f4e98f7

Browse files
committed
fix linting
1 parent 76d658e commit f4e98f7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

litellm/proxy/search_endpoints/search_tool_management.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CRUD ENDPOINTS FOR SEARCH TOOLS
33
"""
44
from datetime import datetime
5-
from typing import Any, Dict, List, Union, cast
5+
from typing import Any, Dict, List, Union
66

77
from fastapi import APIRouter, Depends, HTTPException
88
from pydantic import BaseModel
@@ -11,7 +11,6 @@
1111
from litellm.proxy.auth.user_api_key_auth import user_api_key_auth
1212
from litellm.proxy.search_endpoints.search_tool_registry import SearchToolRegistry
1313
from litellm.types.search import (
14-
AvailableSearchProvider,
1514
ListSearchToolsResponse,
1615
SearchTool,
1716
SearchToolInfoResponse,
@@ -307,8 +306,8 @@ async def delete_search_tool(search_tool_id: str):
307306
)
308307

309308
verbose_proxy_logger.info(
310-
f"Successfully deleted search tool from database. "
311-
f"Router will be updated by the cron job."
309+
"Successfully deleted search tool from database. "
310+
"Router will be updated by the cron job."
312311
)
313312

314313
return result

litellm/proxy/search_endpoints/search_tool_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Search Tool Registry for managing search tool configurations.
33
"""
44
from datetime import datetime, timezone
5-
from typing import Dict, List, Optional
5+
from typing import List, Optional
66

77
from litellm._logging import verbose_proxy_logger
88
from litellm.litellm_core_utils.safe_json_dumps import safe_dumps

0 commit comments

Comments
 (0)