Spaces:
Paused
Paused
frdel commited on
Commit ·
a141bd2
1
Parent(s): 717d8c7
minor adjustments
Browse files
prompts/default/agent.system.main.environment.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
## Environment
|
| 2 |
-
live in
|
| 3 |
agent zero framework is python project in /a0 folder
|
|
|
|
|
|
| 1 |
## Environment
|
| 2 |
+
live in kali linux docker container
|
| 3 |
agent zero framework is python project in /a0 folder
|
| 4 |
+
linux fully accessible via terminal
|
python/helpers/mcp_handler.py
CHANGED
|
@@ -755,17 +755,13 @@ class MCPConfig(BaseModel):
|
|
| 755 |
|
| 756 |
prompt += (
|
| 757 |
f"#### Usage:\n"
|
| 758 |
-
f"~~~json\n"
|
| 759 |
f"{{\n"
|
| 760 |
# f' "observations": ["..."],\n' # TODO: this should be a prompt file with placeholders
|
| 761 |
f' "thoughts": ["..."],\n'
|
| 762 |
# f' "reflection": ["..."],\n' # TODO: this should be a prompt file with placeholders
|
| 763 |
f" \"tool_name\": \"{server_name}.{tool['name']}\",\n"
|
| 764 |
-
f' "tool_args":
|
| 765 |
-
# f"{tool_args}"
|
| 766 |
-
# f" }}\n"
|
| 767 |
f"}}\n"
|
| 768 |
-
f"~~~\n"
|
| 769 |
)
|
| 770 |
|
| 771 |
return prompt
|
|
|
|
| 755 |
|
| 756 |
prompt += (
|
| 757 |
f"#### Usage:\n"
|
|
|
|
| 758 |
f"{{\n"
|
| 759 |
# f' "observations": ["..."],\n' # TODO: this should be a prompt file with placeholders
|
| 760 |
f' "thoughts": ["..."],\n'
|
| 761 |
# f' "reflection": ["..."],\n' # TODO: this should be a prompt file with placeholders
|
| 762 |
f" \"tool_name\": \"{server_name}.{tool['name']}\",\n"
|
| 763 |
+
f' "tool_args": !follow schema above\n'
|
|
|
|
|
|
|
| 764 |
f"}}\n"
|
|
|
|
| 765 |
)
|
| 766 |
|
| 767 |
return prompt
|