SummarizeHistoryOptions
Parameters and properties
Section titled “Parameters and properties”triggerCharactersOptionalnumber | undefinedLength of the JSON-serialized history above which a summary is made, default 400000 characters.keepRecentMessagesOptionalnumber | undefinedMinimum number of recent messages kept after the summary, default 6; the cut moves back to the previous assistant message.