chore: Serveur 100% stable, ports corrigés, prêt pour le RAG
Build and Push Docker Image / build-and-push (push) Successful in 1m50s

This commit is contained in:
xavier committed 2026-08-20 15:24:28 +02:00
1 parent 7125842853
commit ffe820b00f
20 files changed
+7772 -198

No files matched your search

+8 -1
View File
@@ -54,7 +54,10 @@ async def post(request, session: dict):
return await handle_chat_request(request, session)
@rt('/favicon.ico')
def get(): return HTTPResponse(status_code=204)
def favicon_get(): return HTTPResponse(status_code=204)
@rt('/favicon.ico')
def favicon_head(): return HTTPResponse(status_code=204)
@rt('/new_chat')
def get(session): session['current_chat_id'] = str(uuid.uuid4()); return RedirectResponse('/', status_code=303)
@@ -85,5 +88,9 @@ def post(cid: str):
@rt('/export_json')
def get(): return FileResponse(HISTORY_FILE, media_type='application/json', filename='Aethas38_Discussion_Globale.json')
@rt('/ping')
def get():
return HTTPResponse(status_code=204)
if __name__ == '__main__':
serve(port=5001)