From 13cb35111d13e3517e8febb5fb6e3ae0ed4b08a0 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Sun, 22 Feb 2026 20:45:33 +0100 Subject: [PATCH] fix(chat): simplify user label to German; expose host via env var - Change user message author label from "Du / You" to "Du" (German-first) - Add CHAINLIT_HOST env var to .env.example so the server listens on all interfaces and is reachable from outside localhost Co-Authored-By: Claude Sonnet 4.6 --- .env.example | 6 ++++++ chat_app.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index e5e9929..e6909f0 100644 --- a/.env.example +++ b/.env.example @@ -67,3 +67,9 @@ KNOWLEDGE_BASE_DIR=openspec/changes/define-project-scope/content/knowledge-base # --------------------------------------------------------------- # How often (in seconds) to check the inbox for new messages. POLL_INTERVAL=60 + +# --------------------------------------------------------------- +# Web chat server +# --------------------------------------------------------------- +# Listen on all interfaces so the app is reachable from outside localhost. +CHAINLIT_HOST=0.0.0.0 diff --git a/chat_app.py b/chat_app.py index 5bd2393..1174ce3 100644 --- a/chat_app.py +++ b/chat_app.py @@ -93,7 +93,7 @@ async def on_chat_start() -> None: len(state.messages), ) for msg in state.messages: - author = "Spielgruppe Pumuckl" if msg.role == "assistant" else "Du / You" + author = "Spielgruppe Pumuckl" if msg.role == "assistant" else "Du" await cl.Message(content=msg.content, author=author).send() return