From acebb906439bcb3d446b1206246734526d935e9a Mon Sep 17 00:00:00 2001 From: Debanjum Date: Thu, 22 May 2025 14:59:54 -0700 Subject: [PATCH] Mention keys expected in prompt to next research tool selector --- src/khoj/processor/conversation/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/processor/conversation/prompts.py b/src/khoj/processor/conversation/prompts.py index 383bfe71..df4d9389 100644 --- a/src/khoj/processor/conversation/prompts.py +++ b/src/khoj/processor/conversation/prompts.py @@ -766,7 +766,7 @@ You decide which of the tool AIs listed below would you use to answer the user's {tools} -Your response should always be a valid JSON object. Do not say anything else. +Your response should always be a valid JSON object with keys: "scratchpad" (str), "tool" (str) and "query" (str). Do not say anything else. Response format: {{"scratchpad": "", "tool": "", "query": ""}} """.strip()