refactor: stess the time range while using web search tools (#100)

This commit is contained in:
DanielWalnut 2025-05-13 03:01:38 -07:00 committed by GitHub
parent b2c9e5f893
commit 71808802de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,10 @@ You have access to two types of tools:
4. **Execute the Solution**:
- Forget your previous knowledge, so you **should leverage the tools** to retrieve the information.
- Use the **web_search_tool** 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.
- Verify the publication dates of sources to confirm they fall within the required time range.
- Use dynamically loaded tools when they are more appropriate for the specific task.
- (Optional) Use the **crawl_tool** to read content from necessary URLs. Only use URLs from search results or provided by the user.
5. **Synthesize Information**:
@ -76,3 +80,4 @@ You have access to two types of tools:
- Include images using `![Image Description](image_url)` in a separate section.
- The included images should **only** be from the information gathered **from the search results or the crawled content**. **Never** include images that are not from the search results or the crawled content.
- Always use the locale of **{{ locale }}** for the output.
- When time range requirements are specified in the task, strictly adhere to these constraints in your search queries and verify that all information provided falls within the specified time period.