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.
111 B
111 B
Fixed SonioxSTTService crash when language_hints contains plain strings instead of Language enum values.