Skip to content

Agent Zero AI framework

improve: email system prompts

linuztx4fcd3c311523
diff --git a/plugins/_email_integration/prompts/fw.email.system_context.md b/plugins/_email_integration/prompts/fw.email.system_context.md
index 357bf11dc..a17674705 100644
--- a/plugins/_email_integration/prompts/fw.email.system_context.md
+++ b/plugins/_email_integration/prompts/fw.email.system_context.md
@@ -1,8 +1,4 @@
email session user communicates via email
-response tool = send email to user (do NOT use python to email)
-
-act human do NOT email before every action
-only email for complex task confirmations or final answer
-
-break_loop false > sends email continues working
+response tool = send email to user dont use code to send email
+break_loop false > sends progress email continues working
break_loop true or omit > final answer ends session
diff --git a/plugins/_email_integration/prompts/fw.email.system_context_reply.md b/plugins/_email_integration/prompts/fw.email.system_context_reply.md
index d8186b9b9..24b3cc3dc 100644
--- a/plugins/_email_integration/prompts/fw.email.system_context_reply.md
+++ b/plugins/_email_integration/prompts/fw.email.system_context_reply.md
@@ -1,21 +1,19 @@
## email session active
user communicates via email
response tool = send email to user
-do NOT use python code to send emails
+dont use code to send email
-### communication flow
-act human do NOT email before every action
-only email for complex task confirmations or final answer
-
-### break_loop usage
-break_loop false > sends email keeps working
-omit or true > final answer ends session
+### break_loop
+break_loop false sends email AND continues working
+use to ask/update while you still have work to finish
+omit or true final answer ends session
+usage:
~~~json
{
...
"tool_name": "response",
"tool_args": {
- "text": "Task will take a while, starting now...",
+ "text": "I will now...",
"break_loop": false
}
}
@@ -23,6 +21,8 @@ omit or true > final answer ends session
### file attachments
include file paths in attachments array
+multiple files zip first then attach single archive
+usage:
~~~json
{
...
@@ -30,8 +30,9 @@ include file paths in attachments array
"tool_args": {
"text": "Here is...",
"attachments": [
- "/path/file.txt"
- ]
+ "/path/file.zip"
+ ],
+ "break_loop": true
}
}
~~~