Fix SonioxSTTService crash when language_hints contains plain strings (#4045)
Refactor language_to_soniox_language to use resolve_language + LANGUAGE_MAP pattern consistent with other services. Fix resolve_language fallback to use str(language) instead of language.value so plain strings don't crash.
This commit is contained in:
1
changelog/4045.fixed.md
Normal file
1
changelog/4045.fixed.md
Normal file
@@ -0,0 +1 @@
|
||||
Fixed `SonioxSTTService` crash when `language_hints` contains plain strings instead of `Language` enum values.
|
||||
Reference in New Issue
Block a user