forked from innovacion/Mayacontigo
add healthcheck to bursatil
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user