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: .agents/editor/best-of-n/editor-best-of-n.ts
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,33 @@ Write out what changes you would make using str_replace and/or write_file tool c
55
55
56
56
${
57
57
isGpt5
58
-
? ``
58
+
? `<example>
59
+
<codebuff_tool_call>
60
+
{
61
+
"cb_tool_name": "str_replace",
62
+
"path": "path/to/file",
63
+
"replacements": [
64
+
{
65
+
"old": "exact old code",
66
+
"new": "exact new code"
67
+
},
68
+
{
69
+
"old": "exact old code 2",
70
+
"new": "exact new code 2"
71
+
},
72
+
]
73
+
}
74
+
</codebuff_tool_call>
75
+
76
+
<codebuff_tool_call>
77
+
{
78
+
"cb_tool_name": "write_file",
79
+
"path": "path/to/file",
80
+
"instructions": "What the change does",
81
+
"content": "Complete file content or edit snippet"
82
+
}
83
+
</codebuff_tool_call>
84
+
</example>`
59
85
: `
60
86
You can also use <think> tags interspersed between tool calls to think about the best way to implement the changes. Keep these thoughts very brief. You may not need to use think tags at all.
0 commit comments