mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-14 04:08:28 +00:00
- Only consider API requests with valid token information - Skip messages with invalid/missing token data - Prevent counter from resetting on action approval messages - Ensure both tokensIn and tokensOut are valid numbers This makes the context token counter more stable and accurate by only updating on valid API responses with complete token data. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| api.ts | ||
| array.ts | ||
| checkExistApiConfig.ts | ||
| combineApiRequests.ts | ||
| combineCommandSequences.ts | ||
| context-mentions.ts | ||
| ExtensionMessage.ts | ||
| getApiMetrics.ts | ||
| HistoryItem.ts | ||
| mcp.ts | ||
| modes.ts | ||
| support-prompt.ts | ||
| tool-groups.ts | ||
| vsCodeSelectorUtils.ts | ||
| WebviewMessage.ts | ||