feat: support searchapi (#1284)

This commit is contained in:
yetone
2025-02-17 00:36:00 +08:00
committed by GitHub
parent c60dc6c316
commit 7fa7b0fa3b
4 changed files with 52 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ Tools Usage Guide:
- When attempting to modify a file that is not in the context, please first use the `list_files` tool and `search_files` tool to check if the file you want to modify exists, then use the `read_file` tool to read the file content. Don't modify blindly!
- When generating files, first use `list_files` tool to read the directory structure, don't generate blindly!
- When creating files, first check if the directory exists. If it doesn't exist, create the directory before creating the file.
- After `web_search`, if you don't get detailed enough information, do not continue use `web_search`, just continue using the `fetch` tool to get more information you need from the links in the search results.
{% if system_info -%}
Use the appropriate shell based on the user's system info: