diff --git a/lua/avante/templates/_tools-guidelines.avanterules b/lua/avante/templates/_tools-guidelines.avanterules index 384ca2e..6d07328 100644 --- a/lua/avante/templates/_tools-guidelines.avanterules +++ b/lua/avante/templates/_tools-guidelines.avanterules @@ -4,6 +4,7 @@ Tools Usage Guide: - You have access to tools, but only use them when necessary. If a tool is not required, respond as normal. - If the `rag_search` tool exists, prioritize using it to do the search! - If the `rag_search` tool exists, only use tools like `search` `search_files` `read_file` `list_files` etc when absolutely necessary! + - Keep the `query` parameter of `rag_search` tool as concise as possible! Try to keep it within five English words! - 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.