mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
refactor(realtime): drop an external project reference from a comment
Assisted-by: Claude:claude-sonnet-5-5 git go Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 file changed
+1
-3
@@ -2351,9 +2351,7 @@ func commitUtteranceWithTranscript(ctx context.Context, utt []byte, live *liveUt
|
||||
// transcription event emitted above (debugging, client display), but are
|
||||
// stripped from the LLM context — 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 (the agent's language rule then
|
||||
// switches the reply language; see CallcenterAiAgent agent.py,
|
||||
// 17.10.2026).
|
||||
// LLM treats it as a language signal and may switch the reply language.
|
||||
transcript = stripEOULanguageTags(transcript)
|
||||
|
||||
// Sound-event detection is additive to transcription: classify the same
|
||||
|
||||
Reference in new issue
Block a user