@@ -567,7 +567,7 @@ export class TaskTool implements AgentTool<TSchema, TaskToolDetails, Theme> {
|
||||
}
|
||||
|
||||
const planModeState = this.session.getPlanModeState?.();
|
||||
const planModeTools = ["open", "grep", "find", "ls", "lsp", "web_search"];
|
||||
const planModeTools = ["read", "grep", "find", "ls", "lsp", "web_search"];
|
||||
const effectiveAgent: typeof agent = planModeState?.enabled
|
||||
? {
|
||||
...agent,
|
||||
|
||||
Reference in New Issue
Block a user