Skip to content

Agent Zero AI framework

minor adjustments

frdele5a987087bde
diff --git a/prompts/default/agent.system.main.environment.md b/prompts/default/agent.system.main.environment.md
index 6585e5ad1..d52ee00df 100644
--- a/prompts/default/agent.system.main.environment.md
+++ b/prompts/default/agent.system.main.environment.md
@@ -1,3 +1,4 @@
## Environment
-live in debian linux docker container
+live in kali linux docker container
agent zero framework is python project in /a0 folder
+linux fully accessible via terminal
\ No newline at end of file
diff --git a/python/helpers/mcp_handler.py b/python/helpers/mcp_handler.py
index bdfd592da..024853d41 100644
--- a/python/helpers/mcp_handler.py
+++ b/python/helpers/mcp_handler.py
@@ -755,17 +755,13 @@ class MCPConfig(BaseModel):
prompt += (
f"#### Usage:\n"
- f"~~~json\n"
f"{{\n"
# f' "observations": ["..."],\n' # TODO: this should be a prompt file with placeholders
f' "thoughts": ["..."],\n'
# f' "reflection": ["..."],\n' # TODO: this should be a prompt file with placeholders
f" \"tool_name\": \"{server_name}.{tool['name']}\",\n"
- f' "tool_args": {{ !follow schema above }}\n'
- # f"{tool_args}"
- # f" }}\n"
+ f' "tool_args": !follow schema above\n'
f"}}\n"
- f"~~~\n"
)
return prompt