Improve web-search warning for Copilot engine with Tavily documentation#1269
Improve web-search warning for Copilot engine with Tavily documentation#1269
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated the documentation to only include Tavily. Removed Exa, SerpAPI, and Brave Search sections. The guide is now focused and simplified (149 lines vs 290 lines). Changes in commit |
|
|
||
| The Copilot engine doesn't require explicit network permissions as MCP servers run with network access by default. | ||
|
|
||
| ## Troubleshooting |
There was a problem hiding this comment.
Removed the Troubleshooting section. Documentation reduced from 149 to 109 lines.
Changes in commit f8c7a3e
| - **`version`** (optional): Version of the GitHub Copilot CLI to install (defaults to `latest`) | ||
|
|
||
| **Note:** The Copilot engine does not support the `web-search` tool. Use Claude or Codex engines if you need web search capabilities. | ||
| **Note:** The Copilot engine does not have built-in `web-search` support. You can add web search capabilities using third-party MCP servers. See the [Web Search with MCP guide](/gh-aw/guides/web-search/) for available options and setup instructions. |
There was a problem hiding this comment.
@copilot use Astro Starlight adornments syntax
There was a problem hiding this comment.
Updated to use Astro Starlight adornments syntax (:::note).
Changes in commit d7f8b2a
| # bash: ["echo", "ls", "git status"] # Or specify custom commands | ||
| ``` | ||
|
|
||
| **Note:** Some engines (like Copilot) don't have built-in `web-search` support. You can add web search using third-party MCP servers instead. See the [Web Search with MCP guide](/gh-aw/guides/web-search/) for options. |
There was a problem hiding this comment.
@copilot use Astro Starlight adornments syntax
There was a problem hiding this comment.
Updated to use Astro Starlight adornments syntax (:::note).
Changes in commit d7f8b2a
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
|
||
| ## Overview | ||
|
|
||
| Some AI engines (like Copilot) don't include built-in web search functionality. To add web search capabilities to these workflows, you can integrate the Tavily MCP server that provides AI-optimized search functionality. |
There was a problem hiding this comment.
@copilot update wording they are many other alternatives, cite some but do not document them.
There was a problem hiding this comment.
Updated the Overview section to acknowledge other alternatives (Exa, SerpAPI, Brave Search) while keeping the focus on Tavily documentation.
Changes in commit a9f4e1c
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Problem
When users try to use the
web-searchtool with the Copilot engine, they receive an unhelpful warning message:This warning doesn't provide users with any actionable next steps or alternatives, leading to confusion about how to add web search capabilities to their workflows.
Solution
This PR enhances the user experience by:
Adding a documentation link to the warning message - Users now see:
Creating focused documentation at
/guides/web-search/covering Tavily Search with mentions of other alternativesProviding complete setup guide, including:
Updating related documentation to reference the new guide in
engines.mdandtools.mdusing proper Astro Starlight adornments syntaxChanges Made
pkg/workflow/compiler.goto include documentation linkdocs/src/content/docs/guides/web-search.mdwith:engines.mdwith Astro Starlight:::noteadornmentstools.mdwith Astro Starlight:::noteadornmentssearch_integration_test.goto verify the warning includes the documentation linkExample Usage
After this change, users can easily add web search to Copilot workflows using the Tavily MCP server:
Testing
TestWebSearchValidationForCopilotto verify the warning includes the documentation linkFixes #1267
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.