-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Better handling of large command outputs #2517
Comments
Thanks for trying aider and filing this issue. Sorry, didn't it show you all the output before asking you if you want to add it? |
Well it's multiple markdown files printed at the same time. I want to have the content in the chat because it's relevant to the task I want to accomplish with Aider. I could scroll though the output to see how much it is, but that's inconvenient and also just results in me guessing if it fit's in the 128k context. If I had number of lines or even better number of characters, estimating tokens would be much easier. Not sure if feasible, but having a bar that shows how much of the context window is filled until now, how much the current output will add and the actual token numbers with percentages would of course be great. |
Aider now asks you:
The change is available in the main branch. You can get it by installing the latest version from github:
If you have a chance to try it, let me know if it works better for you. |
I'm closing this enhancement request since it has been marked as 'fixed' for over 3 weeks. The requested feature should now be available in recent versions of aider. If you find that this enhancement is still needed, please feel free to reopen this issue or create a new one. Note: A bot script made these updates to the issue. |
It would be really helpful to either see how much is about to be added or have the option to undo the last add if it will cause the context window to be exceeded and I'm forced to clear the chat and loose all the relevant chat history.

The text was updated successfully, but these errors were encountered: