Roo-Code/src/shared
MFPires 5311e0c8ab fix: Make context token counter more reliable
- 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.
2025-01-28 00:27:17 -03:00
..
__tests__ Throw FileRestrictionErrors sooner 2025-01-26 02:44:59 -05:00
api.ts feat: Add openRouterBaseUrl option 2025-01-25 16:48:21 +08:00
array.ts Initial streaming refactor 2024-10-09 01:49:54 -04:00
checkExistApiConfig.ts Prettier backfill 2025-01-17 14:11:28 -05:00
combineApiRequests.ts Refactor claudeMessages 2024-10-09 01:49:59 -04:00
combineCommandSequences.ts Refactor claudeMessages 2024-10-09 01:49:59 -04:00
context-mentions.ts Prettier backfill 2025-01-17 14:11:28 -05:00
ExtensionMessage.ts Add support for displaying reasoning for openrouter models 2025-01-26 02:11:56 +01:00
getApiMetrics.ts fix: Make context token counter more reliable 2025-01-28 00:27:17 -03:00
HistoryItem.ts refactor: remove experimental diff from history since we are using the state 2025-01-16 23:49:11 -05:00
mcp.ts Add per-server MCP network timeout configuration 2025-01-26 22:49:21 -05:00
modes.ts Throw FileRestrictionErrors sooner 2025-01-26 02:44:59 -05:00
support-prompt.ts Review feedback 2025-01-23 15:56:24 -08:00
tool-groups.ts Add a tool to switch modes 2025-01-24 03:05:03 -05:00
vsCodeSelectorUtils.ts Prettier backfill 2025-01-17 14:11:28 -05:00
WebviewMessage.ts Add per-server MCP network timeout configuration 2025-01-26 22:49:21 -05:00