An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
feat: increase maxSteps from 5 to 20 for quick mode researcher
Yoshiki Miura8e7b626c5241
diff --git a/lib/agents/researcher.ts b/lib/agents/researcher.tsindex f28e46a4..a7fb233b 100644--- a/lib/agents/researcher.ts+++ b/lib/agents/researcher.ts@@ -107,11 +107,11 @@ export function createResearcher({switch (searchMode) {case 'quick':console.log(- '[Researcher] Quick mode: maxSteps=5, tools=[search, fetch]'+ '[Researcher] Quick mode: maxSteps=20, tools=[search, fetch]')systemPrompt = QUICK_MODE_PROMPTactiveToolsList = ['search', 'fetch']- maxSteps = 5+ maxSteps = 20searchTool = wrapSearchToolForQuickMode(originalSearchTool)break