feat: add optional You.com search integration - #154
Closed
mouse-value-add wants to merge 1 commit into
Closed
Conversation
- Add YouComMcpClient for You.com web search API - Extend search web command with --provider flag (dashscope|youcom) - Support optional YDC_API_KEY env var (falls back to keyless API) - MCP-compatible tool interface for agent integration - Graceful error handling and fallback behavior - Maintain backward compatibility with existing DashScope search - Add comprehensive documentation and usage examples Resolves youdotcom-oss/integration-tracking#187
Collaborator
|
Thanks for the contribution. After review, we’ve decided not to merge this PR. Bailian CLI is focused on Alibaba Cloud Model Studio capabilities. Integrating a third-party search provider directly into the built-in search web command is outside the current product scope and introduces additional API, authentication, and maintenance responsibilities. We’ll close this PR for now. Thanks again for your work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds You.com as an optional web search provider to the Bailian CLI, enhancing the existing search capabilities without breaking backward compatibility.
What Changed
--providerflag supportingdashscope(default) oryoucomYDC_API_KEYenvironment variable (falls back to keyless API)youcom_web_searchtool for AI agent workflowsUsage Examples
Architecture
The integration follows existing CLI patterns:
YDC_API_KEY,YOUCOM_BASE_URL)Benefits for Bailian CLI
Validation Performed
Testing
The integration can be tested with:
Links
YOUCOM_INTEGRATION.mdfor detailed setup and usageThis integration enhances Bailian CLI's search capabilities while maintaining the high quality and compatibility standards of the project.