mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-13 15:34:20 +00:00
12 lines
457 B
Python
12 lines
457 B
Python
from tools.helpers.tool import Tool, Response
|
|
from tools.helpers import files
|
|
|
|
class Unknown(Tool):
|
|
def execute(self):
|
|
return Response(
|
|
message=files.read_file("prompts/fw.tool_not_found.md",
|
|
tool_name=self.name,
|
|
tools_prompt=files.read_file("prompts/agent.tools.md")),
|
|
stop_tool_processing=True,
|
|
break_loop=False)
|
|
|