Skip to main content

View as Markdown · AI documentation index

Variable: ENTRY_WARN_THRESHOLD

const ENTRY_WARN_THRESHOLD: 1000 = 1000

Defined in: constants.ts:53

Entry count after which a chat warns about an unbounded transcript.

Remarks​

Transcripts are uncapped by default so history is never silently lost. The warning exists because the engine serializes the whole state tree into sessionStorage on every auto-save; set maxEntries on the chat once a transcript gets long.