Skip to content

Commit

Permalink
test(langchain): Use new PipelineParams in test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTom101 committed Jun 2, 2024
1 parent 410dbd3 commit 89673a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_langchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -63,7 +63,7 @@ async def test_langchain(self):
]
)

task = PipelineTask(pipeline)
task = PipelineTask(pipeline, PipelineParams(allow_interruptions=False))
await task.queue_frames(
[
UserStartedSpeakingFrame(),
Expand Down

0 comments on commit 89673a4

Please sign in to comment.