mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-03 03:55:12 +00:00
refactor: move input tool and prompt into code execution plugin
This commit is contained in:
parent
7bb9e62e7c
commit
9acbf2537e
3 changed files with 2 additions and 3 deletions
|
|
@ -10,5 +10,5 @@ class CodeExecutionPrompt(Extension):
|
|||
loop_data: LoopData = LoopData(),
|
||||
**kwargs,
|
||||
):
|
||||
prompt = self.agent.read_prompt("agent.system.tool.code_exe.md")
|
||||
system_prompt.append(prompt)
|
||||
system_prompt.append(self.agent.read_prompt("agent.system.tool.code_exe.md"))
|
||||
system_prompt.append(self.agent.read_prompt("agent.system.tool.input.md"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue