Skip to content

Commit 4f21757

Browse files
chore: generate
1 parent 2dbcd79 commit 4f21757

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/opencode/src/tool/task.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export const TaskTool = Tool.define("task", async (ctx) => {
3737

3838
const description = DESCRIPTION.replace(
3939
"{agents}",
40-
list.map((a) => `- ${a.name}: ${a.description ?? "This subagent should only be called manually by the user."}`).join(
41-
"\n",
42-
),
40+
list
41+
.map((a) => `- ${a.name}: ${a.description ?? "This subagent should only be called manually by the user."}`)
42+
.join("\n"),
4343
)
4444
return {
4545
description,

0 commit comments

Comments
 (0)