Skip to main content

Find a way around the 20 file limit

Currently there’s a 20 file limit because of the way that Substage functions, passing in the names of all the individual files to a command - it would force the LLM to create a potentially extremely long Terminal command with a large number of files, and is likely to break down at some point.

What if you have 10,000 files selected in a directory of 11,000 files, and want to zip them? Probably Substage isn’t the right tool for the job! But is there anything we can do to improve behaviour?

Status: Completed1 comment

Log in to comment and vote

Comments1

  • joethephish

    Team•

    Apr 7, 2025

    Batch processing now works in the majority of cases.

    We still have a limit for operations such as zipping, where you’re passing in lots of files into a single command, but I raised the limit to 100 files, since it’s not anything that the LLM ever has to see.