fix(voice): transcribe audio using the user's preferred language
Voice notes were always recognized with a hardcoded English locale, which broke transcription for non-English speakers. The handler now maps the profile's `preferred_language` to a BCP-47 code and passes it to the Google recognizer, falling back to `pt-BR`. Also neutralizes the persona prompt so it follows the selected language instead of forcing Brazilian Portuguese and a fixed gender, and resets the default `preferred_language` to `pt`.
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user