UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

10 lines (9 loc) • 542 B
//#region packages/gateway-protocol/src/schema/chat-history-constants.ts /** Largest history page accepted by the Gateway wire contract. */ const CHAT_HISTORY_MAX_ENTRIES = 1e3; /** Explicit full-message reads can recover large referenced tool outputs. */ const CHAT_MESSAGE_MAX_CHARS = 8e6; /** Display-only custody records; never transcript branch entry IDs. */ const CHAT_PENDING_INPUT_MESSAGE_PREFIX = "pending:"; //#endregion export { CHAT_MESSAGE_MAX_CHARS as n, CHAT_PENDING_INPUT_MESSAGE_PREFIX as r, CHAT_HISTORY_MAX_ENTRIES as t };