mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-01 05:49:20 +00:00
free JSON format, dirty parsing, tool superclass, memory injection, new rate limiter, agent params
11 lines
424 B
Python
11 lines
424 B
Python
from tools.helpers.tool import Tool, Response
|
|
from tools.helpers import files
|
|
|
|
class Unknown(Tool):
|
|
def execute(self, **kwargs):
|
|
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")),
|
|
break_loop=False)
|
|
|