Skip to content

Commit 1785025

Browse files
committed
simplify health check
1 parent c2912a5 commit 1785025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/agentic-strands/app/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ def chat():
159159
return jsonify({"error": str(e), "response": str(e)}), 500
160160

161161
@app.get("/health")
162-
async def health_check():
162+
def health_check():
163163
"""Health check endpoint"""
164-
return {"status": "healthy", "message": "AI Library Assistant is running"}
164+
return "ok"
165165

166166

167167
# Start Flask server when this script is run directly

0 commit comments

Comments
 (0)