mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Maintains the last valid context token count between API requests by: - Adding tracking of last valid context tokens - Using last known value as fallback when current request lacks token data - Only updating when new valid token counts are available This prevents the context counter from flickering to "-" during tool calls and API request transitions, improving the UI stability.