Amazon Bedrock AgentCore exploration, cont'd

This commit is contained in:
Paul Kompfner
2025-11-20 10:59:07 -05:00
parent 0c2723052c
commit d1ce2f52f3

View File

@@ -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):