Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions gateway/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,11 @@ def _flush_memories_for_session(
"2. If you discovered a reusable workflow or solved a non-trivial "
"problem, consider saving it as a skill.\n"
"3. If nothing is worth saving, that's fine — just skip.\n\n"
"IMPORTANT: Only use the 'add' action for memory. Do NOT use "
"'replace' or 'remove' — other sessions or cron jobs may have "
"updated memory since this conversation ended, and you do not have "
"visibility into those changes. Overwriting existing entries risks "
"discarding newer information.\n\n"
"Do NOT respond to the user. Just use the memory and skill_manage "
"tools if needed, then stop.]"
)
Expand Down
Loading