Expand description
Context window budget management.
Tracks estimated token usage and enforces limits to prevent context overflow. Uses a chars/4 heuristic for token estimation (conservative but fast).
Structs§
- Context
Budget - Context budget configuration and enforcement.
Enums§
- Trim
Action - What kind of trim to apply.