paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
19.52k stars 1.8k forks source link

Leverage Anthropic Pormpt Caching #1096

Closed achieveramin closed 1 month ago

achieveramin commented 1 month ago

https://www.anthropic.com/news/prompt-caching

This can dramatically reduce costs and improve Aider.

the-crypt-keeper commented 1 month ago

+1 here, reducing the cost and improving performance of long conversations would greatly enhance the value aider brings, I am currently "/clear"ing aggressively as a workaround I'd love to be able to keep past task context when asking for next task.

therealtimex commented 1 month ago

We're discussing it here https://github.com/paul-gauthier/aider/issues/1086

paul-gauthier commented 1 month ago

This looks like a duplicate of #1086, so I'm going to close it so discussion can happen there. Please let me know if you think it's actually a distinct issue.