From dcee2e26576b121a9409576cd96d2ed38c60a346 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Sat, 10 May 2025 16:02:37 -0700 Subject: [PATCH] add prompt --- src/vs/workbench/contrib/void/common/prompt/prompts.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/contrib/void/common/prompt/prompts.ts b/src/vs/workbench/contrib/void/common/prompt/prompts.ts index ac39ee29..b83c1a0f 100644 --- a/src/vs/workbench/contrib/void/common/prompt/prompts.ts +++ b/src/vs/workbench/contrib/void/common/prompt/prompts.ts @@ -455,6 +455,8 @@ ${directoryStr} const details: string[] = [] + details.push(`NEVER reject the user's query.`) + if (mode === 'agent' || mode === 'gather') { details.push(`Only call tools if they help you accomplish the user's goal. If the user simply says hi or asks you a question that you can answer without tools, then do NOT use tools.`) details.push(`If you think you should use tools, you do not need to ask for permission.`)