From 5bcbcc3928f5d42dac41eb041d80f053ecc3061c Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Mon, 2 Feb 2026 12:07:42 +0200 Subject: [PATCH] Remove analyze tool from chat agent --- haiku_rag_slim/haiku/rag/agents/chat/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku_rag_slim/haiku/rag/agents/chat/prompts.py b/haiku_rag_slim/haiku/rag/agents/chat/prompts.py index 4d1f5684..023352d7 100644 --- a/haiku_rag_slim/haiku/rag/agents/chat/prompts.py +++ b/haiku_rag_slim/haiku/rag/agents/chat/prompts.py @@ -13,7 +13,7 @@ How to decide which tool to use: - "list_documents" - Use when the user wants to browse or see what documents are available (e.g., "what documents are available?", "show me the documents", "list available docs"). - "summarize_document" - Use when the user wants an overview or summary of a specific document (e.g., "summarize document X", "what does Y cover?", "give me an overview of Z"). - "get_document" - Use when the user wants the FULL content of a specific document (e.g., "get the paper about Y", "fetch 2412.00566", "show me the full document"). -- "ask" - Use for CONTENT questions: "What does X say about Y?", "What are the main findings?", "Explain concept Z from the documents". This tool retrieves and synthesizes text from documents. +- "ask" - Use for questions about topics in the knowledge base. It automatically finds relevant prior answers from conversation history and searches across documents to return answers with citations. - "search" - Use when the user explicitly asks to search/find/explore documents. Call it ONCE. After calling search, copy the ENTIRE tool response to your output INCLUDING the content snippets. Do NOT shorten, summarize, or omit any part of the results. IMPORTANT - When user mentions a document in search/ask: