Roo-Code/webview-ui/src/components
MFPires ea6dc7c16e feat(ui): add context window percentage to task header
Display the percentage of total context window used alongside token count in the task header. This helps users better understand their context usage relative to the model's capacity.

Implementation details:
- Retrieve model's context window size from normalized API configuration
- Calculate percentage of context window used based on current context tokens
- Display percentage in parentheses next to token count (e.g. "40,000 (20%)")
- Default to context window size of 1 if model info is unavailable
- Format numbers with commas for better readability
2025-01-28 16:33:06 -03:00
..
chat feat(ui): add context window percentage to task header 2025-01-28 16:33:06 -03:00
common chore: update CodeBlock.tsx 2025-01-28 03:13:14 +09:00
history Prettier backfill 2025-01-17 14:11:28 -05:00
mcp Add per-server MCP network timeout configuration 2025-01-26 22:49:21 -05:00
prompts Add configuration picker on the modes page 2025-01-25 22:30:35 -05:00
settings Merge pull request #538 from samhvw8/feat/insert_and_search_replace_tools 2025-01-28 11:23:06 -05:00
welcome Custom modes 2025-01-21 09:39:54 -05:00