Expand description
Derive the per-step LLM context from an append-only chat history.
See derive_context and derive_with_policy for entry points.
Structs§
- Derived
Context - The per-step LLM context, derived from an append-only chat history.
- Request
Options - Tunables for a derived-context provider request.
Functions§
- build_
request_ with_ context - Build a provider request from the session’s derived context.
- complete_
with_ context - Complete a derived-context request, retrying with forced compaction.
- derive_
context - Derive an ephemeral
DerivedContextfromsession’s pure history. - derive_
with_ policy - Derive an ephemeral
DerivedContextunder a chosenDerivePolicy. - effective_
policy - Resolve the effective derivation policy for
session.