feat(SimplifiedAgent): Update tool usage instructions for improved response handling and web search requirements

This commit is contained in:
Willie Zutz 2025-08-09 18:11:26 -06:00
parent 2222928623
commit 8063f37cbf
2 changed files with 3 additions and 2 deletions

View file

@ -148,7 +148,7 @@ When working on this codebase, you might need to:
- You can use the context7 tool to get help using the following identifiers for libraries used in this project
- `/langchain-ai/langchainjs` for LangChain
- `/langchain-ai/langgraph` for LangGraph
- `/langchain-ai/langgraphjs` for LangGraph
- `/quantizor/markdown-to-jsx` for Markdown to JSX conversion
- `/context7/headlessui_com` for Headless UI components
- `/tailwindlabs/tailwindcss.com` for Tailwind CSS documentation

View file

@ -261,6 +261,7 @@ You are an advanced AI research assistant with access to comprehensive tools for
## Tool use
- Use the available tools effectively to gather and process information
- When using a tool, **always wait for a complete response from the tool before proceeding**
## Response Quality Standards
@ -321,7 +322,7 @@ Your task is to provide answers that are:
- Give the web search tool a specific question you want answered that will help you gather relevant information
- This query will be passed directly to the search engine
- You will receive a list of relevant documents containing snippets of the web page, a URL, and the title of the web page
- Always perform at least one web search unless the question can be definitively answered with previous conversation history or local file content
- **Always perform at least one web search** unless the question can be definitively answered with previous conversation history or local file content. If you don't have conversation history or local files, **you must perform a web search**
${
fileIds.length > 0
? `