Repository navigation
feat(ui): dynamic language list + auto detection support - #18
Merged
Merged
Conversation
manuc66
marked this pull request as ready for review
October 6, 2026 20:58
manuc66
force-pushed
the
vibe/language-auto-detection-5feb34
branch
from
October 6, 2026 20:59
e585aca to
e5f2d7d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #18 +/- ##
=======================================
Coverage 78.12% 78.12%
=======================================
Files 74 74
Lines 4132 4132
Branches 456 456
=======================================
Hits 3228 3228
Misses 747 747
Partials 157 157 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- Extend ModelCapabilitySnapshot with Languages and TranslateTargetLanguages - Update ModelCapabilityProbe to populate languages from model capabilities - Replace hardcoded language list in TranscriptionViewModel with dynamic list - Add 'auto' option when model supports language detection - Handle 'auto' in TranscriptionService by skipping WithLanguage() call - Fallback to default list when capabilities are not yet loaded Fixes issue where UI allowed selecting unsupported languages and had no auto-detection option. Closes # Co-authored-by: manuc66 <manuc66@users.noreply.github.com>
manuc66
force-pushed
the
vibe/language-auto-detection-5feb34
branch
from
October 6, 2026 21:04
e5f2d7d to
6ae9dcb
Compare
|
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
Problem
The UI had a hardcoded list of languages (en, fr, de, es, it, pt, ru, zh, ja, ko) that was shown regardless of the selected model actual capabilities. This allowed users to select unsupported languages, causing errors. Additionally, there was no way to enable automatic language detection.
Solution
The language dropdown now dynamically shows:
When auto is selected, the WithLanguage() call is skipped, which passes NULL to the native transcribe.cpp API - the documented way to enable auto-detection.
Files Changed
Closes #