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) {