mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
- Add maxReadFileTokens setting to global settings schema (default: 10000) - Update extractTextFromFile to use token counting with tiktoken - Modify UI components to show token-based settings instead of line-based - Update all callers of extractTextFromFile to pass the new parameter - Add comprehensive tests for token-based truncation - Token-based truncation takes precedence over line-based when both are set This addresses issue #6274 by preventing context window exhaustion when reading files with very long lines that contain many tokens. |
||
|---|---|---|
| .. | ||
| build | ||
| cloud | ||
| config-eslint | ||
| config-typescript | ||
| evals | ||
| ipc | ||
| telemetry | ||
| types | ||