Expand description
Typed request parts and prioritized budget-bounded selection.
Replaces blind byte-prefix truncation with prioritized selection across typed
request components (required instructions, user prompt, tool schemas, evidence,
and conversation history). Enforces that required instructions and the complete
user prompt survive admission, or rejects with ContextBudgetExceeded.
Structs§
- Request
Part - A borrowed typed part of an inference request.
Enums§
- Request
Part Kind - Semantic category of a request part in the conditioning pipeline.
Functions§
- select_
prioritized_ parts - Select and pack request parts within a strict byte ceiling.