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
Follow-up on the PR-Agent 8 kHz tail note: the decimator intentionally keeps source indices 0, 2, 4, ... . Therefore, when a stream ends after three complete 16 kHz samples, the buffered third sample is the next kept 8 kHz sample rather than half of an output pair.
Signed commit a58630b extracts that tail flush into a named helper and adds a regression proving [1, 2, 3] -> [1, 3] at end of stream. Fresh verification passed cargo check --tests and all 773 Rust tests serially. (Two unrelated localhost connection-pool tests raced in one parallel run; both passed in isolation, and the full serial run is 773/773.)
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.
User description
Closes #850
Summary
Verification
Notes
DashScope temporary OSS upload is documented as a development and low-concurrency path. The added documentation calls out that limitation for users.
PR Type
Enhancement, Tests
Description
Extend Bailian ASR model routing to all supported families
Implement async transcription protocol with OSS upload and polling
Add 8kHz PCM downsample and chunk size for 8k realtime models
Align desktop and mobile routing, model hints, and validation
Diagram Walkthrough
flowchart LR model["Model Name"] --> classify{"Model Prefix"} classify -->|"fun-asr-realtime* / paraformer-realtime* / sensevoice-realtime* / fun-asr-flash-8k-realtime*"| ws["Classic WebSocket (bailian.rs)"] classify -->|"qwen3-asr-flash-realtime*"| qwen["Qwen Realtime WebSocket (qwen_realtime.rs)"] classify -->|"fun-asr-flash* / qwen3-asr-flash"| sync["Synchronous Multimodal (dashscope_multimodal.rs)"] classify -->|"fun-asr / fun-asr-mtl* / paraformer* / qwen3-asr-flash-filetrans*"| async["Async Transcription (dashscope_multimodal.rs)"]File Walkthrough
6 files
Add 8kHz downsample and chunk sizeImplement async transcription protocolExtend model list and validationExtend model routing and endpoint protocolsUse dynamic timeout for multimodal ASRClassify model protocol for UI hints1 files
Add cancel support for DashScope multimodal6 files
Update model hint labels for sync/asyncUpdate model hint labels for sync/asyncUpdate model hint labels for sync/asyncUpdate model hint labels for sync/asyncUpdate model hint labels for sync/asyncDocument Bailian ASR model support