examples: update all examples to use the new LLMContextAggregatorPair tuple

This commit is contained in:
Aleix Conchillo Flaqué
2026-01-13 13:40:03 -08:00
parent 1ab3bf2ef6
commit 861588e4a3
155 changed files with 450 additions and 475 deletions

View File

@@ -119,7 +119,7 @@ Start by asking me for my location. Then, use 'get_weather_current' to give me a
]
context = LLMContext(messages, tools)
context_aggregator = LLMContextAggregatorPair(
user_aggregator, assistant_aggregator = LLMContextAggregatorPair(
context,
user_params=LLMUserAggregatorParams(
user_turn_strategies=UserTurnStrategies(
@@ -132,11 +132,11 @@ Start by asking me for my location. Then, use 'get_weather_current' to give me a
[
transport.input(),
stt,
context_aggregator.user(),
user_aggregator,
llm,
tts,
transport.output(),
context_aggregator.assistant(),
assistant_aggregator,
]
)