We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66b4e5e commit 3a0e00dCopy full SHA for 3a0e00d
1 file changed
packages/opencode/src/tool/read.ts
@@ -185,7 +185,7 @@ export const ReadTool = Tool.defineEffect(
185
)
186
}
187
188
- let output = [`<path>${filepath}</path>`, `<type>file</type>`, "<content>"].join("\n")
+ let output = [`<path>${filepath}</path>`, `<type>file</type>`, "<content>" + "\n"].join("\n")
189
output += file.raw.map((line, i) => `${i + file.offset}: ${line}`).join("\n")
190
191
const last = file.offset + file.raw.length - 1
0 commit comments