From a4cfb2eea41bb304025ae235ae8a8a606ab7389a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Bene=C5=A1?= Date: Sun, 2 Aug 2026 17:32:07 +0200 Subject: [PATCH] Rewrap a paragraph Co-Authored-By: Claude Opus 5 (1M context) --- CLAUDE.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 84dc183..0f52e20 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -146,9 +146,8 @@ deploy/ systemd unit, nginx vhost, install/update scripts **`render()`, not `TemplateResponse`.** `web/templating.py:render()` injects `user`, `theme`, `layout`, `version` and `allow_signup`. Templates assume they exist. If you must call `templates.TemplateResponse` directly (the SSE path does, -because -there is no `Request`), pass `user` explicitly — `chat/_message.html` renders -both roles and the user branch dereferences it. +because there is no `Request`), pass `user` explicitly — `chat/_message.html` +renders both roles and the user branch dereferences it. **The message template is the state machine.** `chat/_message.html` renders an incomplete assistant message as a streaming shell carrying `sse-connect`, and a