scripts(evals): use new vad_analyzer from LLMUSerAggregator

This commit is contained in:
Aleix Conchillo Flaqué
2026-01-30 10:57:17 -08:00
parent b93e12d701
commit c9310789dc

View File

@@ -42,7 +42,10 @@ 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
from pipecat.processors.aggregators.llm_response_universal import (
LLMContextAggregatorPair,
LLMUserAggregatorParams,
)
from pipecat.processors.audio.audio_buffer_processor import AudioBufferProcessor
from pipecat.processors.frame_processor import FrameDirection
from pipecat.runner.types import RunnerArguments
@@ -207,7 +210,6 @@ async def run_example_pipeline(script_path: Path, eval_config: EvalConfig):
audio_in_enabled=True,
audio_out_enabled=True,
video_in_enabled=True,
vad_analyzer=SileroVADAnalyzer(),
),
)
@@ -309,7 +311,12 @@ async def run_eval_pipeline(
]
context = LLMContext(messages, tools)
context_aggregator = LLMContextAggregatorPair(context)
context_aggregator = LLMContextAggregatorPair(
context,
user_params=LLMUserAggregatorParams(
vad_analyzer=SileroVADAnalyzer(),
),
)
audio_buffer = AudioBufferProcessor()