You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/agent/prompts.ts
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,8 @@ export function buildPromptDisciplineBlock(
225
225
}
226
226
227
227
constTOOL_SUMMARIES: Record<string,string>={
228
-
read_file: "read a file or tool-output:///{callId} (prefer over cat/head/tail in the shell)",
228
+
read_file:
229
+
"read a file or tool-output:///{callId} (prefer over cat/head/tail in the shell)",
229
230
write_file: "create or overwrite a file (never shell redirects or heredocs)",
230
231
edit_file:
231
232
"make a surgical edit (exact old_string match, or start_line/end_line line-range mode; never include read_file's NNNNNN\\t line prefix; substring failures include nearby file text; prefer over sed/awk in the shell)",
@@ -278,7 +279,9 @@ export function buildAvailableTools(
0 commit comments