From 00a49fe8b49d506adbaf67006b800a3e91add56f Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 1 Apr 2026 19:25:17 +0900 Subject: [PATCH] docs: add gateway.webchat.chatHistoryMaxChars config reference --- docs/web/webchat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/web/webchat.md b/docs/web/webchat.md index fef901f4526..b88145b4b74 100644 --- a/docs/web/webchat.md +++ b/docs/web/webchat.md @@ -52,9 +52,9 @@ Status: the macOS/iOS SwiftUI chat UI talks directly to the Gateway WebSocket. Full configuration: [Configuration](/gateway/configuration) -Channel options: +WebChat options: -- No dedicated `webchat.*` block. WebChat uses the gateway endpoint + auth settings below. +- `gateway.webchat.chatHistoryMaxChars`: maximum character count for text fields in `chat.history` responses. When a transcript entry exceeds this limit, Gateway truncates long text fields and may replace oversized messages with a placeholder. Per-request `maxChars` can also be sent by the client to override this default for a single `chat.history` call. Related global options: