Add voice input ASR model configuration#1667
Open
wgqqqqq wants to merge 2 commits into
Open
Conversation
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
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.
Summary
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:rscargo check -p bitfun-services-integrations --features speechcargo test -p bitfun-services-integrations --features speech speech::cargo check -p bitfun-desktopcargo check --workspacepnpm run type-check:webpnpm run i18n:auditpnpm --dir src/web-ui run test:run src/flow_chat/components/voice/useComposerVoiceInput.test.tsxgit diff --cached --check