An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
fix: temporarily disable askQuestion tool in planning mode
Yoshiki Miurad5b6c304978e
diff --git a/lib/agents/researcher.ts b/lib/agents/researcher.tsindex 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 stepssystemPrompt = PLANNING_MODE_PROMPT- activeToolsList = ['search', 'fetch', 'askQuestion']+ activeToolsList = ['search', 'fetch'] // Temporarily removed askQuestion until improvementsif (writer && 'todoWrite' in todoTools) {activeToolsList.push('todoWrite', 'todoRead')}