public interface LLMContextPreparation
Optional provider hook, called before principal context checks and transport. Queued user messages can be appended before compaction decides its budget. Compaction requests do not invoke this hook. It runs on the session owner.
class MyProvider implements LLMProvider, LLMContextPreparation: ...
| Modifier and Type | Member | Description |
|---|---|---|
| public | prepareContextprepareContext() as Void throws Exception |
Prepares the owning session's messages before a principal request. |