An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Merge branch 'main' of https://github.com/miurla/morphic into feature/question-tool
Yoshiki Miuraa5c1b22e9cc4
diff --cc lib/agents/researcher.tsindex f3140b6e,7ceead36..6c139ea6--- a/lib/agents/researcher.ts+++ b/lib/agents/researcher.ts@@@ -54,14 -44,13 +54,14 @@@ export function researcher(tools: {search: searchTool,retrieve: retrieveTool,- videoSearch: videoSearchTool+ videoSearch: videoSearchTool,+ ask_question: askQuestionTool},experimental_activeTools: searchMode- ? ['search', 'retrieve', 'videoSearch']+ ? ['search', 'retrieve', 'videoSearch', 'ask_question']: [],maxSteps: searchMode ? 5 : 1,- experimental_transform: smoothStream({ chunking: 'word' })+ experimental_transform: smoothStream()}} catch (error) {console.error('Error in chatResearcher:', error)