Skip to main content

Module token_tracker

Module token_tracker 

Source
Expand description

Token tracking for context limit safeguard.

Monitors token usage during session runs and detects when the 80% threshold is reached to trigger server-side summarization.

Structsยง

TokenTracker
Tracks token usage during a session run to detect context limit threshold.