Commit graph

12400 commits

Author SHA1 Message Date
Amar Sood (tekacs)
b717384420 Put tool calls on multiple lines when a multi-line tool use is used 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
4b2202cd26 Even more strident (and proximal) reminders to use tool-use editing 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
1841d105fe Allow the user to confirm commands forever 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b51abd7fe7 Capture TreeSitter ranges for tools to use 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
d6e58ce063 Emit more than 3 tool calls on separate lines 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
e039543e15 Require a justification when using SEARCH/REPLACE 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
123879fad5 Only process SEARCH/REPLACE blocks before the tool call separator 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
5e81b6c1c4 Replace ShowNumberedContext for tool_utils 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
18a942759c Make tools even more favored over SEARCH/REPLACE blocks 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
7eac68e267 Refactor the indent lines function to use tool_utils 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
c55d789c25 Try factoring out some common functionality. Incremental commit. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
551b357559 Be even more strident about line-number-based edits 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
ee94452ffe Add DeleteLine{,s} tools 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
17964f476c Rename ViewNumberedContext to ShowNumberedContext 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
032a0e5d35 Fix find files with symbol 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
646ed36527 Remind the LLM that it doesn't need to use View on files found by Discovery 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
6691f626fa Prompt refinements, to try to guide the LLM's style more 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
2b13763c9a Update guidance around granular tool edits. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9e7ab846e5 Add the ability to view numbered context and guidance around line-editing. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9cb0f5e203 Split tools out of NavigatorCoder. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9275bbc92a Add a comment to IndentLines 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
832f478b13 Add more guidance /to/ use granular tools and use-cases for each. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
1e01482be6 Include a tree-sitter based outline of open files for the LLM 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
17f06c86b2 Accept SEARCH/REPLACE irrespective of tool calls. Separate tool calls, only after --- lines. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
24042e91d5 Rename UndoChange's file argument to file_path 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
dfd248245c Add CommandInteractive tool 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9e1900a126 MakeEditable: Improve handling of file states and output 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
bbc16ca60a Make it clearer that Add commands view, not adding 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
dea5bd54f2 Add a tool to extract lines from a file into others 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
643442019a Encourage the LLM to use dry_run in some cases 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
a24ef3694a Granular edits with dry_run 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
7f0ef1a04a Granular tool-call based editing 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
a310df3df3 Allow escaping of tool calls by the model 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
765002d486 Use a parens parser and then Python's ast.parse to parse tool calls robustly 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
4339c73774 Instead of using Continue, just use the presence of tool calls for multi-turn 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
888bf095ba Include a section with a summary of the files available to the LLM, to encourage it to remove 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
97512e99ed Try to 'improve' prompts. Will see if these are better. 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
e0da980c6e Add Navigator 2025-04-30 19:39:50 -04:00
Paul Gauthier
e205629a94 Merge branch 'main' of github.com:Aider-AI/aider 2025-04-28 07:53:31 -07:00
Paul Gauthier
9351f37935 add google-generativeai, bump deps 2025-04-28 07:53:20 -07:00
paul-gauthier
7d185bb710
Merge pull request #3898 from acro5piano/main
fix: add suffix "md" when opening editor in InputOutput class
2025-04-27 06:59:11 -07:00
Kay Gosho
07759813ed fix: add suffix "md" when opening editor in InputOutput class 2025-04-27 16:06:32 +09:00
Paul Gauthier
591d294052 feat: Print changed file path and check before reading content 2025-04-25 07:58:51 -07:00
Paul Gauthier (aider)
df1a0c5b8d style: Apply linter to aider/watch.py 2025-04-25 07:54:35 -07:00
Paul Gauthier (aider)
e743394537 feat: Skip scanning files larger than 1MB for AI comments 2025-04-25 07:54:32 -07:00
Paul Gauthier
22f140ac05 feat: Add common file patterns to default gitignore spec 2025-04-25 07:54:31 -07:00
Paul Gauthier (aider)
25a303935c fix: Add overeager setting to Gemini 2.5 Pro models in model-settings.yml 2025-04-24 19:51:35 -07:00
Paul Gauthier (aider)
3bf20d4f7a feat: Set gemini 2.5 pro models to overeager: true 2025-04-24 19:51:14 -07:00
Paul Gauthier
45413ce815 copy 2025-04-24 07:18:35 -07:00
Paul Gauthier
c56e4a08d3 copy 2025-04-20 19:53:32 -07:00