Show incoming user messages to clients
The chat WebSocket handler in office-ui.html only processes agent_message and chat_history payloads, leaving user_message broadcasts ignored. When one client sends a message, other connected clients receive it from the server with type user_message, but the UI drops it because onmessage has no branch for that type. This prevents the multi-user broadcast promised by /ws/chat, so users never see each other’s messages unless they originate from the built-in agent echo.
Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #28 (comment)
The chat WebSocket handler in
office-ui.htmlonly processesagent_messageandchat_historypayloads, leavinguser_messagebroadcasts ignored. When one client sends a message, other connected clients receive it from the server with typeuser_message, but the UI drops it becauseonmessagehas no branch for that type. This prevents the multi-user broadcast promised by/ws/chat, so users never see each other’s messages unless they originate from the built-in agent echo.Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #28 (comment)