Structs§
- Context
Usage - Context usage stats.
Functions§
- context_
usage - Estimate total context usage for a message list.
- estimate_
tokens - Fast approximate token counting (~4 chars per token for English).
- mask_
observations - Replace old tool result content with lightweight placeholders.