You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
feat(local-asr): 支持可选本地 Whisper 与 Qwen3 后端
摘要
让 OpenLess 的本地 ASR 渠道可按操作系统选择合适后端:macOS 可选 Whisper、Qwen3 MLX/Metal 或 Qwen3 C;Linux 使用 Qwen3 C;Windows 保持原有本地方案。
修复 / 新增 / 改进
local-qwen3配置。兼容
不包含:
对现有用户 / 本地环境 / 构建流程的影响:
local-qwen3配置继续可用:macOS 映射到 MLX,Linux 映射到 C。测试计划
命令:
pnpm test结果:通过,包含前端构建及 44 项前端检查。
证据路径:
openless-all/app/src/pages/settings/ChannelList.test.ts命令:
rustc --edition 2021 --test src/asr_output.rs -o /private/tmp/qwen3-asr-output-test && /private/tmp/qwen3-asr-output-test结果:通过,验证 Qwen3 输出解析不会吞掉开头文本。
证据路径:
openless-all/app/src-tauri/vendor/qwen3-asr-rs/src/asr_output.rs命令:
git diff --check结果:通过。
证据路径:本 PR 全部差异。
模型下载增加whisper相关的模型
性能对比
原版qwen3-asr
MacOS的MLX加速版本