examples(foundational): don't use legacy LLMUserAggregatorParams

This commit is contained in:
Aleix Conchillo Flaqué
2025-12-11 14:11:10 -08:00
parent d33c72a8b0
commit 7e6b0839b0
6 changed files with 5 additions and 27 deletions

View File

@@ -15,9 +15,6 @@ 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 import (
LLMUserAggregatorParams,
)
from pipecat.processors.aggregators.llm_response_universal import LLMContextAggregatorPair
from pipecat.runner.types import RunnerArguments
from pipecat.runner.utils import create_transport
@@ -132,10 +129,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
]
context = LLMContext(messages)
context_aggregator = LLMContextAggregatorPair(
context,
user_params=LLMUserAggregatorParams(aggregation_timeout=0.005),
)
context_aggregator = LLMContextAggregatorPair(context)
pipeline = Pipeline(
[