-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Allow the user to optionally edit the output of /run before sending it to the model #565
Comments
Thanks for trying aider and filing this issue. Aider already asks you if you want to add the run output to the chat before doing so, right? So it won't "instantly" send a huge number of tokens to the LLM. You have to say "yes" first. You can also us standard shell tools to manipulate/filter/truncate the output. So |
I have since tested aider more thoroughly (it's awesome!) but I still feel that the /run output capturing lacks flexibility:
Actually using prompt_toolkit I was pleasantly surprised to see that it can perfectly be used to edit long text:
So yeah I think it would be a nice addition to be able to edit the output before sending it to the LLM. Moreover it could be used by the user to specify some contextual information like "this line appears as soon as I move the moue on element X" etc. |
Hi,
I was thinking about stuff and yesterday you told me being rather against adding a budget cutoff which I completely respect but that got me thinking about the /run function:
To me I can imagine situations where I really don't want to have a /run command get stuck in a while loop and output instantly 50k tokens of a nonsense warning for example. That might be costly for nothing and I don't know what steps aider has put in place to avoid that. Especially if there's no budget limit.
So I'm humbly speaking aloud a few ideas (maybe some of them are already implemented, I don't know!):
(...)
in between. That might save a lot of tokensI hope this is useful and appreciated, I have yet to really test aider because I'm so afraid of unexpected costs!
The text was updated successfully, but these errors were encountered: