Skip to content

An AI-powered search engine with a generative UI

fix: temporarily disable askQuestion tool in planning mode

Yoshiki Miurad5b6c304978e
diff --git a/lib/agents/researcher.ts b/lib/agents/researcher.ts
index f7cd9c02..3215fbe0 100644
--- a/lib/agents/researcher.ts
+++ b/lib/agents/researcher.ts
@@ -95,7 +95,7 @@ export function researcher({
case 'planning':
// Planning Mode: All tools, structured approach, many steps
systemPrompt = PLANNING_MODE_PROMPT
- activeToolsList = ['search', 'fetch', 'askQuestion']
+ activeToolsList = ['search', 'fetch'] // Temporarily removed askQuestion until improvements
if (writer && 'todoWrite' in todoTools) {
activeToolsList.push('todoWrite', 'todoRead')
}