From e3bca929fb097e755e2b293062a1ce34029b9c39 Mon Sep 17 00:00:00 2001 From: Xubin Ren Date: Wed, 22 Apr 2026 16:05:57 +0000 Subject: [PATCH] fix(webui): left-align prose inside user message pill --- docs/websocket.md | 2 +- webui/src/components/MessageBubble.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/websocket.md b/docs/websocket.md index ed1652bed..e3303b868 100644 --- a/docs/websocket.md +++ b/docs/websocket.md @@ -176,7 +176,7 @@ All fields go under `channels.websocket` in `config.json`. | `host` | string | `"127.0.0.1"` | Bind address. Use `"0.0.0.0"` to accept external connections. | | `port` | int | `8765` | Listen port. | | `path` | string | `"/"` | WebSocket upgrade path. Trailing slashes are normalized (root `/` is preserved). | -| `maxMessageBytes` | int | `1048576` | Maximum inbound message size in bytes (1 KB – 16 MB). | +| `maxMessageBytes` | int | `37748736` | Maximum inbound message size in bytes (1 KB – 40 MB). Default (36 MB) is sized to accept up to 4 base64-encoded image attachments at 8 MB each; lower it if the channel only carries text. | ### Authentication diff --git a/webui/src/components/MessageBubble.tsx b/webui/src/components/MessageBubble.tsx index 63a43c8da..8a51b1175 100644 --- a/webui/src/components/MessageBubble.tsx +++ b/webui/src/components/MessageBubble.tsx @@ -43,7 +43,7 @@ export function MessageBubble({ message }: MessageBubbleProps) {