Skip to content

Optimizations for when large numbers of files are added #3778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tekacs
Copy link

@tekacs tekacs commented Apr 11, 2025

Hullo! One common issue that I've run into with aider is that when many files are in context, the CLI slows to a crawl. Every time you hit enter, there's a very long delay. This is also an issue in watch mode.

This PR fixes this issue, by showing a summary view and skipping the lag of tokenization when displaying the CLI with large numbers of files in context.

Having run with this for a few days, I can attest that input latency becomes much much more pleasant with this change!

@CLAassistant
Copy link

CLAassistant commented Apr 11, 2025

CLA assistant check
All committers have signed the CLA.

@tekacs tekacs force-pushed the large-file-counts branch from 2bce92d to 6eab184 Compare April 16, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants