examples(foundational): use RunnerArgs.pipeline_idle_timeout_secs
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user