We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7be66 commit 28995e5Copy full SHA for 28995e5
packages/opencode/src/tool/task.ts
@@ -103,8 +103,7 @@ export const TaskTool = Tool.define("task", async () => {
103
all = all.flatMap((msg) => msg.parts.filter((x: any) => x.type === "tool") as MessageV2.ToolPart[])
104
const text = result.parts.findLast((x) => x.type === "text")?.text ?? ""
105
106
- const output =
107
- text + "\n\n" + ["<session_metadata>", `Session ID: ${session.id}`, "</session_metadata>"].join("\n")
+ const output = text + "\n\n" + ["<task_metadata>", `session_id: ${session.id}`, "</task_metadata>"].join("\n")
108
109
return {
110
title: params.description,
0 commit comments