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 0ddd149 commit 3adda59Copy full SHA for 3adda59
src/core/prompts/tools/index.ts
@@ -122,13 +122,10 @@ export function getToolDescriptionsForMode(
122
return undefined
123
}
124
125
- const description = descriptionFn({
+ return descriptionFn({
126
...args,
127
toolOptions: undefined, // No tool options in group-based approach
128
})
129
-
130
- // Filter out empty descriptions (e.g., when update_todo_list is disabled)
131
- return description && description.trim() ? description : undefined
132
133
134
return `# Tools\n\n${descriptions.filter(Boolean).join("\n\n")}`
0 commit comments