add healthcheck to bursatil

This commit is contained in:
2025-11-25 06:15:24 +00:00
parent cccf0a4784
commit eccd53673c
2 changed files with 236 additions and 41 deletions

View File

@@ -53,3 +53,8 @@ async def send(message: Message, stream: bool = False):
agent, message.prompt, message.conversation_id
)
return response
@app.get("/")
async def health():
return {"status": "ok"}