Skip to content

Add voice input ASR model configuration#1667

Open
wgqqqqq wants to merge 2 commits into
GCWing:mainfrom
wgqqqqq:agent/voice-asr-model-config
Open

Add voice input ASR model configuration#1667
wgqqqqq wants to merge 2 commits into
GCWing:mainfrom
wgqqqqq:agent/voice-asr-model-config

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add desktop voice input plumbing with local speech model lifecycle APIs.
  • Add local ASR model support for SenseVoice Small INT8 and Qwen3-ASR 0.6B INT8, including multi-artifact download/install handling.
  • Add voice input settings UI with local model install controls and cloud ASR model configuration on the same page.
  • Add speech recognition model categorization so cloud ASR configs can be saved through the existing AI model configuration boundary.

Notes

Cloud ASR keys are saved with the existing AI model configuration data. The voice input config only records the selected provider and model id. Cloud transcription execution is guarded until the transcription adapter is implemented.

Validation

  • pnpm run fmt:rs
  • cargo check -p bitfun-services-integrations --features speech
  • cargo test -p bitfun-services-integrations --features speech speech::
  • cargo check -p bitfun-desktop
  • cargo check --workspace
  • pnpm run type-check:web
  • pnpm run i18n:audit
  • pnpm --dir src/web-ui run test:run src/flow_chat/components/voice/useComposerVoiceInput.test.tsx
  • git diff --cached --check

@wgqqqqq
wgqqqqq marked this pull request as ready for review July 21, 2026 13:02
…el-config

# Conflicts:
#	scripts/core-boundaries/rules/feature-rules.mjs
#	src/crates/contracts/core-types/src/lib.rs
#	src/crates/services/services-integrations/src/lib.rs
#	src/web-ui/src/flow_chat/components/ChatInput.tsx
#	src/web-ui/src/infrastructure/api/adapters/peer-device-adapter.ts
#	src/web-ui/src/infrastructure/config/components/DefaultModelConfig.tsx
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.

1 participant