feat(asr): 支持 Qwen-Audio-3.0-ASR-Flash 整段转写 - #876
Merged
Conversation
Contributor
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
H-Chris233
added a commit
to LauraGPT/openless
that referenced
this pull request
Aug 2, 2026
Resolve conflicts with Open-Less#876 (qwen-audio-3.0-asr-flash batch support): - route qwen-audio-3.0-asr-flash through protocol_for_model as DashScopeBatchProtocol::Multimodal (streaming variants stay rejected) - drop is_supported_model in favor of protocol_for_model everywhere - keep PR's async transcription / polling / 8k downsample changes intact
H-Chris233
added a commit
to LauraGPT/openless
that referenced
this pull request
Aug 2, 2026
…-Less#866) Merge with beta Open-Less#876 brought qwen-audio-3.0-asr-flash into the model picker and protocol routing; keep the model reference doc in sync and note that -streaming variants are not supported.
H-Chris233
added a commit
that referenced
this pull request
Aug 2, 2026
* feat(asr): support more Bailian speech models * test(asr): cover final 8k downsample phase * fix(asr): address review findings on Bailian model routing (#866) - route paraformer-8k-realtime / sensevoice-8k-realtime to classic WebSocket, matching the 8k downsample naming space in bailian.rs - downsample 16k->8k with pairwise averaging (first-order low-pass) instead of pure decimation to reduce aliasing; drop the lone tail sample on flush - cap async provider validation at 120s (60s poll) instead of 660s so the validate button cannot block for nearly 11 minutes - join async transcript segments with a space so latin-script words do not get glued together * fix(asr): drop qwen3-asr-flash-filetrans and harden async polling (#866) - qwen3-asr-flash-filetrans only accepts public URLs per DashScope docs; it is incompatible with the local-recording temporary OSS + oss:// path, so reject it in protocol_for_model / routing / picker / docs instead of shipping a model that would silently fail on real recordings - simplify async_transcription_body / extract_async_result_url to the single fun-asr results shape - add bounded retry (exponential backoff, deadline-capped) to async task polling and result download so one transient network blip does not discard an entire recording * docs(asr): list qwen-audio-3.0-asr-flash as a synchronous model (#866) Merge with beta #876 brought qwen-audio-3.0-asr-flash into the model picker and protocol routing; keep the model reference doc in sync and note that -streaming variants are not supported. --------- Co-authored-by: LauraGPT <lauragpt@users.noreply.github.com> Co-authored-by: Chris233 <h-chris233@outlook.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.
User description
摘要
为阿里云百炼 ASR 增加
qwen-audio-3.0-asr-flash模型支持。该模型复用现有 DashScope
multimodal-generation/generation录音文件转写实现。参考文档:
https://help.aliyun.com/en/model-studio/non-realtime-speech-recognition-user-guide
新增
qwen-audio-3.0-asr-flash。测试计划
INSTALL=0 ./scripts/build-mac.shqwen-audio-3.0-asr-flash,完成录音并确认转写结果正常插入。PR Type
Enhancement, Tests
Description
Add
qwen-audio-3.0-asr-flashto DashScope batch ASRUnify routing, validation, and provider model lists
Update frontend recorded-file detection for new model
Extend tests for routing, validation, and request body
Diagram Walkthrough
flowchart LR A["Bailian model selected"] --> B{"Is qwen-audio-3.0-asr-flash or fun-asr-flash?"} B -- "Yes" --> C["DashScope multimodal ASR client"] B -- "No" --> D["Other Bailian protocol"] C --> E["Recorded-file batch transcription"]File Walkthrough
dashscope_multimodal.rs
Add qwen-audio model constant and validationopenless-all/app/src-tauri/src/asr/dashscope_multimodal.rs
QWEN_AUDIO_MODELconstant for the new modelis_supported_modelhelper for both modelsproviders.rs
Expose qwen-audio model in provider model listsopenless-all/app/src-tauri/src/commands/providers.rs
coordinator.rs
Route and validate qwen-audio multimodal ASR modelopenless-all/app/src-tauri/src/coordinator.rs
qwen-audio-3.0-asr-flashto multimodal provideris_supported_modelin routing and validationProvidersSection.tsx
Recognize qwen-audio model as recorded-file ASRopenless-all/app/src/pages/settings/ProvidersSection.tsx