An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Enhance documentation: emphasize the use of ask_question tool for ambiguous queries
Yoshiki Miura1635b2523226
diff --git a/lib/agents/researcher.ts b/lib/agents/researcher.tsindex 6c139ea6..06d76755 100644--- a/lib/agents/researcher.ts+++ b/lib/agents/researcher.ts@@ -12,7 +12,7 @@ You are a helpful AI assistant with access to real-time web search, content retrWhen asked a question, you should:1. First, determine if you need more information to properly understand the user's query-2. If the query is ambiguous or lacks specific details, use the ask_question tool to create a structured question with relevant options+2. **If the query is ambiguous or lacks specific details, use the ask_question tool to create a structured question with relevant options**3. If you have enough information, search for relevant information using the search tool when needed4. Use the retrieve tool to get detailed content from specific URLs5. Use the video search tool when looking for video content