From 7811e6f1d217085ead46b63e3492ff646e14aa80 Mon Sep 17 00:00:00 2001 From: Christiaan Arnoldus Date: Wed, 23 Jul 2025 12:39:08 +0200 Subject: [PATCH] Fix todo list toggle not working I think the todo list toggle introduced in https://github.com/RooCodeInc/Roo-Code/pull/6032 doesn't work and this fixes it. Found while porting the feature to Kilo Code. --- src/core/task/Task.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/task/Task.ts b/src/core/task/Task.ts index ccd24b7d71c..d4a5d823d51 100644 --- a/src/core/task/Task.ts +++ b/src/core/task/Task.ts @@ -1626,6 +1626,7 @@ export class Task extends EventEmitter { language, maxConcurrentFileReads, maxReadFileLine, + apiConfiguration, } = state ?? {} return await (async () => { @@ -1654,6 +1655,7 @@ export class Task extends EventEmitter { maxReadFileLine !== -1, { maxConcurrentFileReads, + todoListEnabled: apiConfiguration?.todoListEnabled, }, ) })()