Skip to content

fix(qa): use active ASR provider in floating panel#566

Merged
H-Chris233 merged 1 commit into
Open-Less:betafrom
H-Chris233:fix/issue-562-qa-active-asr
May 31, 2026
Merged

fix(qa): use active ASR provider in floating panel#566
H-Chris233 merged 1 commit into
Open-Less:betafrom
H-Chris233:fix/issue-562-qa-active-asr

Conversation

@H-Chris233
Copy link
Copy Markdown
Collaborator

Summary

  • Fixes the QA floating panel ASR path to use the configured active ASR provider instead of hardcoding Volcengine.
  • Adds QA startup/transcription handling for Bailian realtime, Whisper-compatible batch providers, and local ASR providers while preserving existing QA UI/history behavior.
  • Reuses the batch ASR chunk limit helper and scopes local ASR release guards by dictation vs QA session.

Root Cause

QA recording used its own Volcengine-only ASR handle and credential check, while normal dictation respected active_asr_provider. Users who configured another ASR provider could dictate normally, but the floating QA panel still tried the Volcengine path and surfaced the wrong provider error.

Test Plan

  • cargo test --manifest-path "/home/chris233/openless/openless-all/app/src-tauri/Cargo.toml" qa_asr_provider_kind_tracks_active_provider -- --test-threads=1
  • cargo test --manifest-path "/home/chris233/openless/openless-all/app/src-tauri/Cargo.toml" coordinator::tests --lib -- --test-threads=1
  • cargo check --manifest-path "/home/chris233/openless/openless-all/app/src-tauri/Cargo.toml"
  • git diff --check -- "openless-all/app/src-tauri/src/coordinator.rs" "openless-all/app/src-tauri/src/coordinator/dictation.rs"

Fixes #562

@H-Chris233 H-Chris233 merged commit 854d0aa into Open-Less:beta May 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[area] 弹出的浮窗中,未使用已配置好的 API

1 participant