488 B
488 B
- Fixed
Languageenum values (e.g.Language.ES) not being converted to service-specific codes when passed viasettings=Service.Settings(language=Language.ES)at init time. This caused API errors (e.g. 400 from Rime) because the raw enum was sent instead of the expected language code (e.g."spa"). Runtime updates viaUpdateSettingsFramewere unaffected. The fix centralizes conversion in the baseTTSServiceandSTTServiceclasses so all services handle this consistently.