When a CompactedEvent exists in the session, only the most recent
compacted event and the raw events that follow it are included, eliding
earlier history. The extent of context included depends on the agent's
includeContents setting: 'default' sends the full visible history while
any other value sends only the current-turn context.
Populates LlmRequest.contents from the session event history.
When a CompactedEvent exists in the session, only the most recent compacted event and the raw events that follow it are included, eliding earlier history. The extent of context included depends on the agent's
includeContentssetting:'default'sends the full visible history while any other value sends only the current-turn context.