HeadsUp: Aider is a project implementing robust diff writing for code #325
thiswillbeyourgithub
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
There's an open source AI pair programming tool called aider that implements something interesting to you: a bunch of python classes and functions to ask the LLM to output only the diff to apply instead of writing the whole code. This both reduces the chances of errors and greatly reduces the number of tokens to write (importantly: the completion tokens are way more expensive that the prompt tokens)
Motivation
Reduce token cost and errors.
Technical Design
A report showcasing their suff can be found here. Most of the code is here and the prompts are here.
As you can see lots of though when into this because the LLM has otherwise trouble with the number of lines etc.
Alternatives to Consider
None that I know of.
Additional context
For a personnal project I inquired about using only the functions of aider and you can read the issue here
Also, I'm posting this exact same issue on OpenDevin too.
Beta Was this translation helpful? Give feedback.
All reactions