mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-13 19:20:06 +00:00
aeb704367c
- Set context tokens per-step in recordStepUsage instead of waiting for turn completion; each step re-sends the full conversation so the reported usage monotonically increases - Add UsageUpdatedEvent to trigger a TUI re-render after each step so the status bar reflects updated tokens, cost, and context % even during gaps between streaming chunks - Update test to expect per-step context token updates