Structs§
- Context
Builder - Builds a context string from prioritized sections within a token budget.
- Memory
Result - ContextBuilder: layered context loading with token budget management. Priority order: Identity(0) > Bootstrap(1) > AlwaysOnSkills(2) > AvailableSkills(3) > Memory(4) A single memory result with its relevance score and metadata.
Enums§
- Context
Section - A prioritized section of the LLM context prompt.
Functions§
- estimate_
tokens - Rough token estimator: ~4 chars per token