Agent Zero AI framework
prompt: reformat patch prompt constraints
linuztx705115446115
diff --git a/plugins/text_editor/prompts/agent.system.tool.text_editor.md b/plugins/text_editor/prompts/agent.system.tool.text_editor.mdindex 1d4691bd6..d3a65cd3c 100644--- a/plugins/text_editor/prompts/agent.system.tool.text_editor.md+++ b/plugins/text_editor/prompts/agent.system.tool.text_editor.md@@ -45,8 +45,8 @@ from to inclusive \n in content{from:1 to:3 content:"x\n"} replace range{from:2 to:2} delete (no content){from:2 content:"x\n"} insert before (omit to)-use original line numbers from read. dont adjust for shifts-no overlapping edits+use original line numbers from read+dont adjust for shifts no overlapping editsensure valid syntax in content (all braces brackets tags closed)only replace exact lines needed dont include surrounding unchanged linesre-read when insert delete or N≠M replace else patch again ok