public interface LLMHistoryObserver
Receives synchronous history checkpoints on the request worker. Persistence failures propagate to the caller: a session must not silently lose its history.
session.withHistoryObserver(journal)
| Modifier and Type | Member | Description |
|---|---|---|
| public | historyChangedhistoryChanged(message as LLMThreadMessage, context as ArrayList<LLMThreadMessage>) |
Records one appended message or a replacement of the compacted context. |