From 89673a4040d27ecc64aea848580017e28bf2600d Mon Sep 17 00:00:00 2001 From: TomTom101 Date: Sun, 2 Jun 2024 20:19:55 +0200 Subject: [PATCH] test(langchain): Use new PipelineParams in test --- tests/test_langchain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_langchain.py b/tests/test_langchain.py index 0f3ccdc86..cd4161f23 100644 --- a/tests/test_langchain.py +++ b/tests/test_langchain.py @@ -10,7 +10,7 @@ UserStoppedSpeakingFrame) from pipecat.pipeline.pipeline import Pipeline from pipecat.pipeline.runner import PipelineRunner -from pipecat.pipeline.task import PipelineTask +from pipecat.pipeline.task import PipelineParams, PipelineTask from pipecat.processors.aggregators.llm_response import ( LLMAssistantResponseAggregator, LLMUserResponseAggregator) from pipecat.processors.frame_processor import FrameProcessor @@ -63,7 +63,7 @@ async def test_langchain(self): ] ) - task = PipelineTask(pipeline) + task = PipelineTask(pipeline, PipelineParams(allow_interruptions=False)) await task.queue_frames( [ UserStartedSpeakingFrame(),