opencode-agent[bot] 1 месяц назад
Родитель
Сommit
4f21757e0d
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      packages/opencode/src/tool/task.ts

+ 3 - 3
packages/opencode/src/tool/task.ts

@@ -37,9 +37,9 @@ export const TaskTool = Tool.define("task", async (ctx) => {
 
   const description = DESCRIPTION.replace(
     "{agents}",
-    list.map((a) => `- ${a.name}: ${a.description ?? "This subagent should only be called manually by the user."}`).join(
-      "\n",
-    ),
+    list
+      .map((a) => `- ${a.name}: ${a.description ?? "This subagent should only be called manually by the user."}`)
+      .join("\n"),
   )
   return {
     description,