From 2c1c9bc3f01932467f72c1a5ae7eb0e61af22fdf Mon Sep 17 00:00:00 2001 From: nathaninline Date: Thu, 23 Jul 2026 17:32:45 +0200 Subject: [PATCH] CI: gofmt sur web_server.go (alignement des routes casse la CI) --- internal/jean/web_server.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/jean/web_server.go b/internal/jean/web_server.go index 67aafe9..1b47d56 100644 --- a/internal/jean/web_server.go +++ b/internal/jean/web_server.go @@ -127,13 +127,13 @@ func newWebMux() *http.ServeMux { api("/api/restart", svcHandler("restart")) api("/api/bench", handleBench) api("/api/bench/last", handleBenchLast) - api("/api/chat", handleChat) // flux d'ABONNEMENT (SSE) : rejoue + suit le fil - api("/api/chat/send", handleChatSend) // envoie un message (lance la génération détachée) - api("/api/chat/stop", handleChatStop) // interrompt la génération en cours - api("/api/chat/reset", handleChatReset) // nouvelle conversation (pour tous les appareils) + api("/api/chat", handleChat) // flux d'ABONNEMENT (SSE) : rejoue + suit le fil + api("/api/chat/send", handleChatSend) // envoie un message (lance la génération détachée) + api("/api/chat/stop", handleChatStop) // interrompt la génération en cours + api("/api/chat/reset", handleChatReset) // nouvelle conversation (pour tous les appareils) api("/api/chat/compact", handleChatCompact) // compaction manuelle du contexte - api("/api/chat/state", handleChatState) // instantané léger {seq, generating, ctx_used} - api("/api/e2e/chat", handleE2EChat) // même flux mais chiffré E2E (boîte noire via le relais) + api("/api/chat/state", handleChatState) // instantané léger {seq, generating, ctx_used} + api("/api/e2e/chat", handleE2EChat) // même flux mais chiffré E2E (boîte noire via le relais) return mux }