feat(元宝): add browser adapter and docs #693
Open
tiaot33 wants to merge 2 commits intojackwener:mainfrom
Open
Conversation
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.
Description
新增
yuanbao浏览器适配器,支持以下命令:opencli yuanbao newopencli yuanbao ask <prompt>本次改动同时补齐了适配器文档、侧边栏入口、README 命令可发现性,以及登录缺失场景下的 E2E 失败兜底测试。
实现要点:
yuanbao new,优先点击页面中的新建会话入口,失败时回退到首页重载yuanbao ask <prompt>,支持--timeout、--search、--think联网搜索和深度思考的开关状态turndown转换规则,支持将表格类回复转为 MarkdownCliError子类:AuthRequiredErrorCommandExecutionErrorTimeoutErrorRelated issue:
N/A
Type of Change
Checklist
Documentation (if adding/modifying an adapter)
docs/adapters/(if new adapter)docs/adapters/index.mdtable (if new adapter)docs/.vitepress/config.mts(if new adapter)README.md/README.zh-CN.mdwhen command discoverability changedCliErrorsubclasses instead of rawErrorScreenshots / Output