LLMUserContextAggregator: reset user speaking time after bot interruption

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-12 23:54:59 -08:00
parent b602e78625
commit 9f6a1c093a
2 changed files with 3 additions and 0 deletions

View File

@@ -343,6 +343,7 @@ class BaseTestUserContextAggregator:
aggregator = self.AGGREGATOR_CLASS(context, aggregation_timeout=AGGREGATION_TIMEOUT)
frames_to_send = [
InterimTranscriptionFrame(text="Hello ", user_id="cat", timestamp=""),
SleepFrame(),
TranscriptionFrame(text="Hello Pipecat!", user_id="cat", timestamp=""),
SleepFrame(sleep=AGGREGATION_SLEEP),
]