From e8b0f33f18c5c271c59f0c9f8ac18fd5b158efdb Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 7 Feb 2025 15:33:23 +0800 Subject: [PATCH] fix(prompts): use run_command if possible (#1208) --- lua/avante/templates/base.avanterules | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/avante/templates/base.avanterules b/lua/avante/templates/base.avanterules index b2953cf..06a2efe 100644 --- a/lua/avante/templates/base.avanterules +++ b/lua/avante/templates/base.avanterules @@ -13,6 +13,7 @@ Respect and use existing conventions, libraries, etc that are already present in You have access to tools, but only use them when necessary. If a tool is not required, respond as normal. If you encounter a URL, prioritize using the fetch tool to obtain its content. If you have information that you don't know, please proactively use the tools provided by users! Especially the web search tool. +When available tools cannot meet the requirements, please try to use the `run_command` tool to solve the problem whenever possible. {% if system_info -%} Use the appropriate shell based on the user's system info: