Skip to content

Files list too large for context window #4

@remcoder

Description

@remcoder

Hi there! Thanks for making this awesome project available!

I've just started playing with it and I'm running into the issue that when I request a list of files, the resulting data is too large for the context window.

I was using:

  • the Octoprint tool
  • VS Code + Cline
  • DeepSeek v3 (which has a 64k input window)
  • the json result from Octoprint was 500kb (324 files, ~200k tokens)

I would think that a subset of the data per file would suffice in many cases, something like: name, data, size. This would be less than 10 times of the data, so less likely to hit the limit. So that is what I would suggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions