history method
The transcript, when the session keeps it itself; null = the chat's.
When non-null, core's rebuilds replay this list (through
addQueryChunk), and imageMessageCount counts it.
Implementation
List<Message>? history(InferenceModelSession session) => null;