Files
PsAgentAI/__pycache__/psagentai_agent.cpython-311.pyc
T
marcocosta10000 854348ebeb 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`.
2026-10-26 15:51:52 -03:00

327 KiB