Skip to content

Commit 0ddd149

Browse files
committed
Logic fix
1 parent 9dfb971 commit 0ddd149

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/core/prompts/tools/update-todo-list.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ import { ToolArgs } from "./types"
44
* Get the description for the update_todo_list tool.
55
*/
66
export function getUpdateTodoListDescription(args?: ToolArgs): string {
7-
// Check if the todo list feature is enabled
8-
const isEnabled = args?.settings?.alwaysAllowUpdateTodoList !== false
9-
10-
if (!isEnabled) {
11-
return "" // Return empty string if feature is disabled
12-
}
13-
147
return `## update_todo_list
158
169
**Description:**

0 commit comments

Comments
 (0)