Roo-Code/packages
Roo Code 63e3f769ac feat: add provider-specific file reading limits (maxReadFileLine)
Add a per-provider maxReadFileLine setting that allows users to override
the default 2000-line limit when reading files. This helps users with
slower local providers (e.g. CPU-based inference) avoid timeouts by
reducing prompt size.

Changes:
- Add maxReadFileLine to baseProviderSettingsSchema (packages/types)
- Update createReadFileTool() to reflect the effective limit in tool description
- Thread the setting through getNativeTools() and buildNativeToolsArray()
- Enforce the limit at execution time in ReadFileTool.processTextFile()
- Apply the limit to @ mention file reads via parseMentions chain
- Add MaxReadFileLineControl UI component in provider advanced settings
- Add English localization keys for the new setting
- Fix affected tests to account for new parameter

Closes #11407
2026-02-11 16:35:11 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud refactor(read_file): Codex-inspired read_file refactor EXT-617 (#10981) 2026-01-29 15:16:32 -07:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core feat: rename search_and_replace tool to edit and unify edit-family UI (#11296) 2026-02-10 17:32:35 -07:00
evals refactor: remove footgun prompting (file-based system prompt override) (#11387) 2026-02-10 18:32:01 -07:00
ipc Better IPC error logging (#9727) 2025-12-01 15:02:34 -08:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types feat: add provider-specific file reading limits (maxReadFileLine) 2026-02-11 16:35:11 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00