fix: prompts for rag (#1357)

This commit is contained in:
yetone
2025-02-23 02:34:34 +08:00
committed by GitHub
parent c558a1d0ac
commit 4ac44f26b0

View File

@@ -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.