Skip to content

fix: voxtral duration comparison and "auto" language handling#380

Open
peterjs wants to merge 1 commit intorishikanthc:mainfrom
peterjs:fix-voxtral-time-lang
Open

fix: voxtral duration comparison and "auto" language handling#380
peterjs wants to merge 1 commit intorishikanthc:mainfrom
peterjs:fix-voxtral-time-lang

Conversation

@peterjs
Copy link
Contributor

@peterjs peterjs commented Jan 12, 2026

fix: voxtral duration comparison and "auto" language handling

Duration Logic: Fixed a bug where duration was compared in nanoseconds. Comparing against 30*60 caused the value to always be smaller, forcing Voxtral python code to start in buffered mode even shorter recordings.

Removed passing "auto" language down the python code. When no argument is passed, it is considered to be auto. transformers/Voxtral (mistral_common) uses Pydantic to enforce LanguageAlpha2 types, which "auto" violates. The system however accepts any standard ISO language code, therefore I replaced the custom VOXTRAL_LANGUAGES array in the UI with the shared LANGUAGES array.

- use shared LANGUAGES constant in frontend config dialog
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