From cc6ff1ac5469b629d0821c135baaa3f19c0ca9ea Mon Sep 17 00:00:00 2001 From: marcus-daily <111281783+marcus-daily@users.noreply.github.com> Date: Fri, 9 Jan 2026 13:45:26 +0000 Subject: [PATCH] Reverting quickstart to match main --- examples/quickstart/bot.py | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/examples/quickstart/bot.py b/examples/quickstart/bot.py index 5977131c7..d890b8b2c 100644 --- a/examples/quickstart/bot.py +++ b/examples/quickstart/bot.py @@ -36,7 +36,6 @@ from pipecat.audio.vad.silero import SileroVADAnalyzer logger.info("✅ Silero VAD model loaded") -from pipecat.audio.turn.smart_turn.base_smart_turn import SmartTurnParams from pipecat.audio.vad.vad_analyzer import VADParams from pipecat.frames.frames import LLMRunFrame @@ -45,10 +44,7 @@ from pipecat.pipeline.pipeline import Pipeline from pipecat.pipeline.runner import PipelineRunner from pipecat.pipeline.task import PipelineParams, PipelineTask from pipecat.processors.aggregators.llm_context import LLMContext -from pipecat.processors.aggregators.llm_response_universal import ( - LLMContextAggregatorPair, - LLMUserAggregatorParams, -) +from pipecat.processors.aggregators.llm_response_universal import LLMContextAggregatorPair from pipecat.processors.frameworks.rtvi import RTVIConfig, RTVIObserver, RTVIProcessor from pipecat.runner.types import RunnerArguments from pipecat.runner.utils import create_transport @@ -57,10 +53,6 @@ from pipecat.services.deepgram.stt import DeepgramSTTService from pipecat.services.openai.llm import OpenAILLMService from pipecat.transports.base_transport import BaseTransport, TransportParams from pipecat.transports.daily.transport import DailyParams -from pipecat.turns.user_stop.turn_analyzer_user_turn_stop_strategy import ( - TurnAnalyzerUserTurnStopStrategy, -) -from pipecat.turns.user_turn_strategies import UserTurnStrategies logger.info("✅ All components loaded successfully!") @@ -87,18 +79,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): ] context = LLMContext(messages) - context_aggregator = LLMContextAggregatorPair( - context, - user_params=LLMUserAggregatorParams( - user_turn_strategies=UserTurnStrategies( - stop=[ - TurnAnalyzerUserTurnStopStrategy( - turn_analyzer=LocalSmartTurnAnalyzerV3(params=SmartTurnParams()) - ) - ], - ) - ), - ) + context_aggregator = LLMContextAggregatorPair(context) rtvi = RTVIProcessor(config=RTVIConfig(config=[])) @@ -149,11 +130,13 @@ async def bot(runner_args: RunnerArguments): audio_in_enabled=True, audio_out_enabled=True, vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)), + turn_analyzer=LocalSmartTurnAnalyzerV3(), ), "webrtc": lambda: TransportParams( audio_in_enabled=True, audio_out_enabled=True, vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)), + turn_analyzer=LocalSmartTurnAnalyzerV3(), ), }