Skip to content

[ENHANCEMENT] Provider specific file reading limits #11407

@ad-astra-video

Description

@ad-astra-video

Problem (one or two sentences)

I would like to limit file reads on slower local providers (e.g. Kimi K2.5 on old Xeon server) that have slower prompt processing. This would let more requests complete successfully rather than timeout.

Reading 2000 lines works on my fully GPU local providers but fails a lot on my slow mostly CPU provider.

Context (who is affected and when)

Users with providers that are fast, either GPU fully or cloud based, and some slower local providers on prompt processing.

Desired behavior (conceptual, not technical)

File reads are limited to provider line count override

Constraints / preferences (optional)

No response

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

A provider override for file read limit

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions