Mark Backman
61a81ed87b
fix(elevenlabs): use alignment by default, normalizedAlignment only with pronunciation dicts
...
PR #4344 unconditionally switched to normalizedAlignment to fix garbled
words with pronunciation dictionaries (#4316 ). But normalizedAlignment
returns the post-normalized form of what was spoken - including
romanization of non-Latin scripts (Chinese rendered as pinyin), which
ends up in the LLM context and degrades subsequent turns.
Gate the switch on pronunciation_dictionary_locators being configured.
Adds a _select_alignment helper with preferred-with-fallback (both
fields are nullable per the API schema), used by both the WebSocket
and HTTP services. Tests cover dictionary mode, default mode, fallback
when preferred is missing or null, and HTTP field-name variants.
2026-05-05 14:49:41 -04:00
..
2026-03-20 16:37:53 -03:00
2026-03-09 12:07:56 -04:00
2025-01-20 17:41:21 -08:00
2026-01-30 10:07:34 -08:00
2026-03-10 14:54:49 +01:00
2026-01-26 09:56:36 +01:00
2026-04-30 16:16:17 -04:00
2026-03-25 16:05:58 -03:00
2026-05-04 15:40:06 -04:00
2026-05-04 10:41:22 -04:00
2026-04-14 11:48:50 -04:00
2026-01-30 10:07:34 -08:00
2026-03-26 09:20:58 -04:00
2026-04-16 09:28:23 -07:00
2026-01-30 10:07:34 -08:00
2026-05-05 14:49:41 -04:00
2026-03-28 00:01:25 -04:00
2026-02-09 14:12:33 -05:00
2026-04-16 09:28:23 -07:00
2026-04-10 10:27:28 -04:00
2026-03-24 17:30:35 -04:00
2026-01-07 19:32:22 -08:00
2026-04-09 13:41:01 -07:00
2026-01-30 21:07:49 -05:00
2026-04-30 14:16:54 -04:00
2026-04-30 14:16:54 -04:00
2026-04-30 14:16:54 -04:00
2026-04-30 14:16:54 -04:00
2026-03-29 10:27:48 -04:00
2026-01-20 09:16:16 -05:00
2026-03-03 20:08:22 -05:00
2026-04-11 14:29:05 -04:00
2026-01-30 10:07:34 -08:00
2026-05-01 09:36:14 -04:00
2026-01-30 10:07:34 -08:00
2026-04-10 17:37:49 -07:00
2026-04-10 17:37:49 -07:00
2026-03-30 22:26:31 -04:00
2026-04-02 10:28:01 -04:00
2026-04-16 09:28:23 -07:00
2026-03-09 12:07:45 -03:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-03-31 16:05:53 -04:00
2026-04-10 17:37:49 -07:00
2026-05-04 16:42:05 -04:00
2026-02-03 16:42:13 +08:00
2026-04-10 17:37:49 -07:00
2026-03-07 07:42:42 -05:00
2026-04-16 09:28:23 -07:00
2026-03-25 22:53:04 -04:00
2026-04-09 13:04:17 -04:00
2026-02-26 08:55:41 -05:00
2026-02-26 08:55:41 -05:00
2026-03-02 14:07:34 -05:00
2026-03-19 09:43:51 -04:00
2026-02-11 23:27:35 -05:00
2026-05-04 10:41:22 -04:00
2026-02-11 23:27:35 -05:00
2026-01-07 19:32:22 -08:00
2026-03-02 19:23:42 -05:00
2026-02-14 09:54:30 -05:00
2026-01-30 10:07:34 -08:00
2026-03-08 10:41:40 -04:00
2026-03-17 11:31:08 -04:00
2026-02-09 14:12:33 -05:00
2026-01-30 10:07:34 -08:00
2026-04-20 11:55:09 -04:00
2026-01-30 10:07:34 -08:00
2026-02-02 14:27:49 +08:00
2026-04-16 09:28:23 -07:00
2026-04-16 09:28:23 -07:00
2026-04-10 17:37:50 -07:00
2026-03-30 12:46:30 -04:00
2026-01-07 19:32:22 -08:00
2026-04-21 15:48:26 -04:00