mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
style(websearch): ruff-format handler call site
This commit is contained in:
parent
7cb01e0795
commit
a5463b543d
1 changed files with 1 additions and 3 deletions
|
|
@ -243,9 +243,7 @@ class WebSearchInterceptionLogger(CustomLogger):
|
|||
self._request_has_websearch = False # Track if current request has web search
|
||||
|
||||
def _is_web_search_tool(self, tool: dict[str, Any]) -> bool:
|
||||
return is_web_search_tool(
|
||||
tool, recognize_conventional_name=self.recognize_conventional_web_search_name
|
||||
)
|
||||
return is_web_search_tool(tool, recognize_conventional_name=self.recognize_conventional_web_search_name)
|
||||
|
||||
def _is_web_search_tool_chat_completion(self, tool: dict[str, Any]) -> bool:
|
||||
return is_web_search_tool_chat_completion(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue