Add domestic Doubao search tool - #994
Draft
Y1fe1Zh0u wants to merge 3 commits into
Draft
Conversation
Expose the Volcengine domestic global-search API through the existing typed search contract, with configurable defaults and Markdown image output for chat bubbles. Constraint: Implementation follows published API documentation because no live Doubao Search key is available. Rejected: Reuse an Ark or BytePlus endpoint | Doubao Search has separate domestic credentials and request semantics. Confidence: medium Scope-risk: moderate Directive: Do not treat global_search as an overseas endpoint or mix its key with Ark and BytePlus credentials. Tested: 68 backend search and builtin-tool tests; 108 frontend tests; frontend production build; scoped Ruff critical checks. Not-tested: Live provider request and real CDN image rendering without a Doubao Search API key.
Mark the tool and credential control as a test feature in the schema-driven frontend configuration until a real provider key is available for end-to-end validation. Constraint: No live Doubao Search API key is available. Confidence: high Scope-risk: narrow Directive: Remove the test label only after a real authenticated query and image response are validated in the chat UI. Tested: 68 backend search and builtin-tool tests; scoped Ruff critical checks. Not-tested: Visual browser inspection of the rendered configuration card.
Replace implementation-detail wording with a direct notice that the test feature may fail. Confidence: high Scope-risk: narrow Tested: 68 backend search and builtin-tool tests.
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.
变更内容
用户影响
配置豆包搜索 API Key 后,Agent 可以使用
doubao_search检索国内互联网内容。未配置凭据时,该工具不会暴露给运行时。验证
已知边界
当前没有真实豆包搜索 API Key,因此尚未完成真实接口与 CDN 图片端到端联调;前端已明确标记为测试功能。