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