forked from innovacion/Mayacontigo
@@ -55,3 +55,8 @@ async def send(message: Message, stream: bool = False):
|
||||
else:
|
||||
response = await services.generate(message.prompt, message.conversation_id)
|
||||
return response
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def health():
|
||||
return {"status": "ok"}
|
||||
|
||||
Reference in New Issue
Block a user