Skip to main content
Configuration for cross-platform per-user history. Replaces the top-level transcripts config field. Set UserHistoryConfig.identity here, or continue using the deprecated top-level ChatConfig.identity during migration.

Properties

Resolves a stable cross-platform user key from inbound messages. Preferred location for the identity resolver when using history.user. If omitted, ChatConfig.identity is used as a migration fallback. One of the two must be set when user history is enabled.
number | false
Hard cap; older entries evicted on append. Default 200. Set false for no cap.
number | string | string | string | string
Default retention applied as the list TTL. Refreshed on every append. Omit for no expiry.
boolean
Persist formatted (mdast AST). Default false.