fix: plan mode adjustments

This commit is contained in:
mingholy.lmh
2025-12-01 11:33:36 +08:00
parent 249b141f19
commit 8035be6f8d
10 changed files with 169 additions and 47 deletions

View File

@@ -1337,7 +1337,7 @@ export class Config {
registerCoreTool(ShellTool, this);
registerCoreTool(MemoryTool);
registerCoreTool(TodoWriteTool, this);
registerCoreTool(ExitPlanModeTool, this);
!this.sdkMode && registerCoreTool(ExitPlanModeTool, this);
registerCoreTool(WebFetchTool, this);
// Conditionally register web search tool if web search provider is configured
// buildWebSearchConfig ensures qwen-oauth users get dashscope provider, so