nexxtmobile.de
60d2294338
fix(realtime): strip EOU language tags from the LLM context
...
ASR backends like Nemotron-3.5 append end-of-utterance language tags to
transcripts ("<de-DE>", "<en-US>", ...). The committed transcript feeds
the LLM conversation (the user item Transcript field), but the per-utterance
tag is unreliable for short/ambiguous utterances (a German "Hallo." tagged
<en-US>) and the LLM treats it as a language signal, switching the reply
language against the session instructions.
commitUtteranceWithTranscript now strips the EOU tags from the transcript
that goes to appendUserItem/generateResponse (the LLM context). The emitted
input_audio_transcription event keeps the raw transcript (debugging /
client display).
Regression tests: stripEOULanguageTags unit specs + a client-commit spec
asserting the emitted event keeps the raw tag while the LLM user message is
tag-free.
Signed-off-by: nexxtmobile.de <git@nexxtmobile.de >
(cherry picked from commit dff488044c )
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
2026-11-03 14:40:50 +00:00
..
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-13 08:38:31 +00:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-13 08:38:31 +00:00
2026-10-01 08:25:52 +02:00
2026-09-22 17:19:58 +02:00
2026-05-08 16:25:45 +02:00
2026-05-08 16:25:45 +02:00
2026-05-14 08:53:46 +02:00
2026-05-22 10:13:41 +02:00
2026-10-19 23:42:40 +02:00
2026-10-22 17:57:19 +02:00
2026-10-19 23:42:40 +02:00
2026-05-26 08:34:26 +02:00
2026-05-22 10:13:41 +02:00
2026-05-25 23:55:35 +02:00
2026-09-11 22:44:39 +00:00
2026-09-09 22:21:32 +02:00
2026-10-22 17:57:19 +02:00
2026-07-22 09:29:11 +02:00
2026-07-22 09:29:11 +02:00
2026-06-30 09:01:53 +02:00
2026-10-05 23:45:14 +00:00
2026-10-07 14:10:45 +02:00
2026-05-25 09:28:27 +02:00
2026-08-18 09:37:43 +02:00
2026-10-22 17:57:19 +02:00
2026-10-19 23:42:40 +02:00
2026-03-11 08:05:50 +01:00
2026-10-23 11:54:42 +02:00
2026-07-08 16:45:43 +00:00
2026-06-30 09:01:53 +02:00
2026-05-25 10:51:48 +02:00
2026-05-25 10:51:48 +02:00
2026-10-11 00:30:09 +02:00
2026-10-11 00:30:09 +02:00
2026-07-05 08:51:55 +02:00
2026-08-03 18:03:46 +02:00
2026-08-03 18:03:46 +02:00
2026-03-11 08:05:50 +01:00
2026-10-29 22:06:41 +01:00
2026-06-11 08:43:12 +01:00
2026-06-11 08:43:12 +01:00
2026-09-27 07:42:20 +00:00
2026-07-29 12:50:22 +02:00
2026-10-13 08:44:23 +00:00
2026-10-13 08:44:22 +00:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-29 22:06:41 +01:00
2026-10-29 22:06:41 +01:00
2026-11-03 14:40:50 +00:00
2026-10-19 12:30:52 +02:00
2026-09-27 07:42:21 +00:00
2026-10-29 22:06:41 +01:00
2026-10-29 22:06:41 +01:00
2026-10-29 22:06:41 +01:00
2026-10-05 23:45:14 +00:00
2026-07-26 23:09:30 +02:00
2026-10-29 22:06:41 +01:00
2026-06-05 13:45:43 +00:00
2026-06-05 13:45:43 +00:00
2026-10-13 08:38:31 +00:00
2026-10-29 22:06:41 +01:00
2026-10-29 22:06:41 +01:00
2026-10-24 00:07:02 +02:00
2026-10-29 22:06:41 +01:00
2026-10-05 01:27:40 +02:00
2026-06-22 01:00:28 +02:00
2026-06-21 21:07:10 +02:00
2026-10-19 12:30:52 +02:00
2026-10-19 12:30:52 +02:00
2026-10-29 22:06:41 +01:00
2026-10-19 12:30:52 +02:00
2026-06-11 08:43:12 +01:00
2026-06-11 08:43:12 +01:00
2026-10-24 00:07:02 +02:00
2026-10-24 00:07:02 +02:00
2026-06-19 21:36:25 +02:00
2026-03-13 21:37:15 +01:00
2026-03-13 21:37:15 +01:00
2026-10-19 12:30:52 +02:00
2026-10-19 12:30:52 +02:00
2026-10-19 12:30:52 +02:00
2026-06-30 09:01:22 +02:00
2026-06-30 09:01:22 +02:00
2026-10-13 08:44:22 +00:00
2026-06-30 09:01:22 +02:00
2026-07-29 12:50:22 +02:00
2026-09-09 10:38:23 +02:00
2026-10-05 23:46:06 +00:00
2026-10-24 00:07:02 +02:00
2026-10-01 08:25:52 +02:00
2026-07-29 12:50:22 +02:00
2026-07-03 18:00:37 +02:00
2026-08-11 18:37:49 +02:00
2026-08-11 18:37:49 +02:00
2026-08-29 21:28:37 +02:00
2026-06-19 21:36:25 +02:00
2026-06-19 21:36:25 +02:00
2026-08-29 21:28:37 +02:00
2026-11-03 14:40:50 +00:00
2026-09-27 07:42:21 +00:00
2026-07-07 21:16:25 +00:00
2026-10-07 16:57:23 +02:00
2026-10-11 00:30:09 +02:00
2026-10-11 00:30:09 +02:00