mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-30 23:02:50 +00:00
linted
This commit is contained in:
@@ -555,7 +555,8 @@ class AnthropicCompletion(BaseLLM):
|
|||||||
Updated tools list with tool search tool prepended and
|
Updated tools list with tool search tool prepended and
|
||||||
regular tools marked as deferred.
|
regular tools marked as deferred.
|
||||||
"""
|
"""
|
||||||
assert self.tool_search is not None # type
|
if self.tool_search is None:
|
||||||
|
return tools
|
||||||
|
|
||||||
# Check if a tool search tool is already present (user passed one manually)
|
# Check if a tool search tool is already present (user passed one manually)
|
||||||
has_search_tool = any(
|
has_search_tool = any(
|
||||||
|
|||||||
Reference in New Issue
Block a user