From a4d6171c17e5a87403d3ded409a02fa056f49cfb Mon Sep 17 00:00:00 2001 From: HagonChan <77165006+HagonChan@users.noreply.github.com> Date: Fri, 8 Aug 2025 19:31:22 +0800 Subject: [PATCH] fix: tool name mismatch issue (#506) --- src/prompts/researcher.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prompts/researcher.md b/src/prompts/researcher.md index 5a73dd9..2a261a5 100644 --- a/src/prompts/researcher.md +++ b/src/prompts/researcher.md @@ -14,7 +14,7 @@ You have access to two types of tools: {% if resources %} - **local_search_tool**: For retrieving information from the local knowledge base when user mentioned in the messages. {% endif %} - - **web_search_tool**: For performing web searches + - **web_search**: For performing web searches (NOT "web_search_tool") - **crawl_tool**: For reading content from URLs 2. **Dynamic Loaded Tools**: Additional tools that may be available depending on the configuration. These tools are loaded dynamically and will appear in your available tools list. Examples include: @@ -37,7 +37,7 @@ You have access to two types of tools: 3. **Plan the Solution**: Determine the best approach to solve the problem using the available tools. 4. **Execute the Solution**: - Forget your previous knowledge, so you **should leverage the tools** to retrieve the information. - - Use the {% if resources %}**local_search_tool** or{% endif %}**web_search_tool** or other suitable search tool to perform a search with the provided keywords. + - Use the {% if resources %}**local_search_tool** or{% endif %}**web_search** or other suitable search tool to perform a search with the provided keywords. - When the task includes time range requirements: - Incorporate appropriate time-based search parameters in your queries (e.g., "after:2020", "before:2023", or specific date ranges) - Ensure search results respect the specified time constraints.