feat(providers): 统一模型字段、搜索与异步保存隔离 - #1044
Merged
H-Chris233 merged 2 commits intoSep 9, 2026
Merged
Conversation
H-Chris233
pushed a commit
to MarkShawn2020/openless
that referenced
this pull request
Sep 10, 2026
…/Mac 听写键、Open-Less#1020 腾讯云实时语音、Open-Less#1044 统一模型字段与异步保存隔离)并完成 2.0 UI 适配 冲突解决原则:2.0 重写的界面以本地为准,云端功能语义全部移植—— - ProviderForm 离开收敛接入 SettingsModal / ChannelList / LlmProtocolFields / CredentialField(关闭、切节、换供应商前冲掉防抖写入并等待在途写完成) - 腾讯云三段式密钥 + 固定模型档分支移植进 2.0 ChannelCredentialFields;OAuth 静态模型走描述符 - Mac 听写键进入 ShortcutRecorder(allowMacDictationKey)并改用 refresh 拉新偏好 - 远程输入手机页新证书信任流程(持久本地 CA + 描述文件/CA 下载 + 复制链接),de/es/fr 补齐全套新文案 - 纯格式分歧文件取云端后 prettier 归一;双方新增内容(i18n、测试)两侧保留
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.
变更
模型手填、静态候选与动态目录此前各自保存,OrcaRouter 还会在加载目录时回填模型。现在 LLM、ASR、Omni 的适用入口共用一个模型字段和串行保存队列:支持搜索与自定义输入,目录返回仅更新候选,不改变当前模型或 endpoint。
配置编辑立即使旧目录结果失效;关闭、切换供应商和离开设置会先等待凭据及协议保存,保存失败保留草稿。删除 OrcaRouter 专属表单和重复模型下拉,百炼提示使用当前渠道模型,浏览器 mock 覆盖 Core 的全部 46 个描述符。
验证
npm.cmd test:生产构建及 73 个测试通过。git diff --check通过;Standards / Spec 审查无剩余发现。尚未进行真实供应商 API 或原生平台实测。
基于已合并的 #1022,目标分支为
beta。