Fix IVRNavigator to push AggregatedTextFrame when switching to conversation mode

This commit is contained in:
Mark Backman
2026-01-30 21:01:35 -05:00
parent 342ae7af41
commit e779233918
3 changed files with 12 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ from unittest.mock import AsyncMock
from pipecat.audio.vad.vad_analyzer import VADParams
from pipecat.extensions.ivr.ivr_navigator import IVRProcessor
from pipecat.frames.frames import (
AggregatedTextFrame,
LLMFullResponseEndFrame,
LLMMessagesUpdateFrame,
LLMTextFrame,
@@ -339,7 +340,7 @@ class TestIVRNavigation(unittest.IsolatedAsyncioTestCase):
]
expected_down_frames = [
LLMTextFrame, # Should pass through unchanged
AggregatedTextFrame, # LLMTextFrames aggregrated and converted to AggregatedTextFrame
LLMFullResponseEndFrame,
]