examples(foundational): use RunnerArgs.pipeline_idle_timeout_secs

This commit is contained in:
Aleix Conchillo Flaqué
2025-08-06 19:38:06 -07:00
parent 38951aab56
commit 786f24c9db
140 changed files with 202 additions and 21 deletions

View File

@@ -155,7 +155,10 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
frames.append(MonthFrame(month=month))
frames.append(LLMMessagesFrame(messages))
task = PipelineTask(pipeline)
task = PipelineTask(
pipeline,
idle_timeout_secs=runner_args.pipeline_idle_timeout_secs,
)
# Set up transport event handlers
@transport.event_handler("on_client_connected")