diff --git a/examples/aws-agentcore/bot_hellow.py b/examples/aws-agentcore/bot_hellow.py index b4e599ae0..89a72f475 100644 --- a/examples/aws-agentcore/bot_hellow.py +++ b/examples/aws-agentcore/bot_hellow.py @@ -2,9 +2,11 @@ from bedrock_agentcore import BedrockAgentCoreApp app = BedrockAgentCoreApp() + @app.entrypoint def my_agent(payload): return {"result": f"Hello {payload.get('name', 'World')}!"} + if __name__ == "__main__": - app.run() \ No newline at end of file + app.run()