From d1ce2f52f304d8aba03efb88323330fbd4724785 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Thu, 20 Nov 2025 10:59:07 -0500 Subject: [PATCH] Amazon Bedrock AgentCore exploration, cont'd --- examples/aws-agentcore/bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/aws-agentcore/bot.py b/examples/aws-agentcore/bot.py index 33633ec70..51a3bee65 100644 --- a/examples/aws-agentcore/bot.py +++ b/examples/aws-agentcore/bot.py @@ -156,8 +156,12 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): runner = PipelineRunner(handle_sigint=runner_args.handle_sigint) + task_id = app.add_async_task("voice_agent") + await runner.run(task) + app.complete_async_task(task_id) + @app.entrypoint async def bot(payload, context):