Skip to content

Commit aa4b35e

Browse files
committed
Fixes to generateSystemPrompt
1 parent f77189b commit aa4b35e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/core/webview/generateSystemPrompt.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,8 @@ export const generateSystemPrompt = async (provider: ClineProvider, message: Web
8383
maxReadFileLine !== -1,
8484
{
8585
maxConcurrentFileReads,
86-
useAgentRules:
87-
provider.context.globalState.get("useAgentRules") ??
88-
vscode.workspace.getConfiguration("roo-cline").get<boolean>("useAgentRules") ??
89-
true,
86+
todoListEnabled: apiConfiguration?.todoListEnabled,
87+
useAgentRules: vscode.workspace.getConfiguration("roo-cline").get<boolean>("useAgentRules") ?? true,
9088
},
9189
)
9290

0 commit comments

Comments
 (0)