Conversation
leolulu
marked this pull request as ready for review
September 28, 2026 07:38
appergb
added a commit
that referenced
this pull request
Sep 30, 2026
Integrate ASR/Omni fixes, API Route, Android IME and confirmation-based vocabulary learning. Complete settings transitions and macOS single-item credential storage. Synchronize all application versions to 2.0.0-Beta.4+build.20260930. Integrated PRs: #1116, #1120, #1121, #1123, #1124, #1067 and #1128. Linux #1117 remains independent and is excluded from automatic release. Validated: full cross-platform CI, 18 UI motion cases, 112 frontend test files, 1245 Core tests (1 ignored) and 572 macOS native tests. Co-authored-by: HKLHaoBin <we3q@qq.com>
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.
这个 PR 修什么
Fixes #1122
我在 Windows 上复现了一个问题:把某个 ASR 渠道拖到第一位,完全退出再打开,旧渠道又回到第一位。#918 说“排序即优先级,列表里第一个启用的就是当前生效的渠道”,所以重启后也应该保留刚才选好的顺序。
我查到的原因是:拖动时,新顺序和当前渠道已经保存到凭据库,但
preferences.json里的activeAsrProvider还留着旧值。修复前,Tauri 启动时又按这个旧值选了一次渠道,于是把旧渠道移回了最前面。改了什么
我只去掉了启动时按旧偏好重新选择 ASR 渠道的调用,并改了旁边一处已经不适用的注释。这样,有已保存渠道时,启动后继续用它原来的顺序。
我也核对了这几种原有情况:
activeAsrProvider作为备用值。providerType的对应关系、ASR 路由都没有改动。这段 Tauri 启动代码由 Windows、macOS 和 Android 共用;Linux egui 的启动代码没有改动。新增的 Core 测试检查了残留偏好为
foundry-local-whisper或volcengine、同厂商多张卡片,以及没有当前渠道时使用备用值这几种情况。验证
cargo test --locked -p openless-core,包含新增测试。