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