Skip to content

fix(asr): remove MiMo language config#154

Merged
isecret merged 1 commit into
mainfrom
codex/remove-mimo-language-config
Jun 3, 2026
Merged

fix(asr): remove MiMo language config#154
isecret merged 1 commit into
mainfrom
codex/remove-mimo-language-config

Conversation

@endlessovo99

Copy link
Copy Markdown
Collaborator

Summary

  • Restore the behavior from 302d99804513fb8f9e486bd6db0a1ec39e1888ca: Xiaomi MiMo ASR does not expose or persist a configurable language field.
  • Keep both ordinary MiMo and Token Plan requests sending asr_options.language = auto.
  • Keep Token Plan as an independent ASR platform with its own API key and validation state, but fingerprint only includes platform + API key.
  • Update tests and TDD docs to reflect that MiMo config only contains API Key.

Validation

  • git diff --check
  • swiftc -parse app/Typoless/Domain/Models/AppConfig.swift app/Typoless/Domain/Models/CloudASRValidation.swift app/Typoless/Domain/Services/CloudASRValidationService.swift app/Typoless/Persistence/ConfigStore.swift app/Typoless/Providers/ASRProviderFactory.swift app/Typoless/Providers/XiaomiMiMoASRProvider.swift app/Typoless/UI/Settings/ASRSettingsView.swift app/TypolessTests/ASRConfigTests.swift app/TypolessTests/CloudASRValidationServiceTests.swift app/TypolessTests/ConfigStoreTests.swift app/TypolessTests/XiaomiMiMoASRProviderTests.swift

Note: local xcodebuild test is unavailable because this machine only has Command Line Tools selected, not a full Xcode installation.

@isecret isecret merged commit 48ad14f into main Jun 3, 2026
1 check 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.

2 participants