Commit graph

988 commits

Author SHA1 Message Date
Emasoft
8f3cfe1985 Added logic to split and batch the changes in architect mode. In this way editor models with small input context limits will be able to handle the code changes just as well as the more expensive models.
added option to use the new batch editing feature or to stick to the
original architect workflow that makes the changes in one go.

Added parameter `--use-batch-editing` and --no-use-batch-editing` as
command line argument.

Added option `use-batch-editing` to yaml configuration file.
2025-05-17 07:51:40 +02:00
Paul Gauthier (aider)
3caab85931 fix: Mark unused variable in test 2025-05-13 13:44:59 -07:00
Paul Gauthier
756372809e test: Update tests for git integration 2025-05-13 13:44:23 -07:00
Paul Gauthier (aider)
6aa05ab11c style: Format test file 2025-05-13 13:42:04 -07:00
Paul Gauthier (aider)
9cf373039e test: Add test for skipping gitignored files on init 2025-05-13 13:41:58 -07:00
Paul Gauthier (aider)
bc1272f029 fix: base coder not ignoring gitignore if --file is used. 2025-05-13 13:38:18 -07:00
Paul Gauthier (aider)
57020a2d5e test: Assert specific stderr messages for invalid edit format 2025-05-11 08:16:08 -07:00
Paul Gauthier (aider)
6b9045a2a2 fix: Fix F841 unused variable in test 2025-05-11 08:15:19 -07:00
Paul Gauthier (aider)
5f24a0013a test: Fix invalid edit format test assertion 2025-05-11 08:15:03 -07:00
Paul Gauthier (aider)
b79052501d style: Shorten comment to fix E501 2025-05-11 08:13:27 -07:00
Paul Gauthier (aider)
9e0d7d9c46 style: Fix code style in test 2025-05-11 08:13:18 -07:00
Paul Gauthier (aider)
a53ab7d937 fix: Correct test for invalid --edit-format argument 2025-05-11 08:13:11 -07:00
Paul Gauthier (aider)
512b4d891b chore: Remove unused imports in test_openrouter.py 2025-05-10 12:57:14 -07:00
Paul Gauthier (aider)
a6b0f43dce chore: Run linter 2025-05-10 12:56:13 -07:00
Paul Gauthier (aider)
e8d9ae9a1f test: add tests for OpenRouter model info handling 2025-05-10 12:56:08 -07:00
Paul Gauthier
2ab0074915 test: Add OpenRouter tests 2025-05-10 12:56:06 -07:00
Paul Gauthier (aider)
b8758ca791 test: Fix mock for babel.Locale in test_normalize_language 2025-05-10 11:55:03 -07:00
Paul Gauthier (aider)
bf9522a2fb style: Format test file 2025-05-10 11:53:08 -07:00
Paul Gauthier (aider)
ddc8621d6e fix: Correctly normalize hyphenated language codes 2025-05-10 11:53:00 -07:00
Paul Gauthier (aider)
7875de078a fix: Remove unused import/var and fix line length in test 2025-05-10 11:46:49 -07:00
Paul Gauthier (aider)
ea1189b8ec style: Format test_coder.py 2025-05-10 11:46:27 -07:00
Paul Gauthier (aider)
1127b8b559 test: Add tests for user language detection and normalization 2025-05-10 11:46:17 -07:00
Paul Gauthier (aider)
fcc85a7ae6 fix: Update test mocks for get_commit_message signature 2025-05-09 09:17:59 -07:00
Paul Gauthier (aider)
023e939798 style: Address flake8 errors 2025-05-08 15:15:17 -07:00
Paul Gauthier
38e7f04e60 lint 2025-05-08 15:13:38 -07:00
paul-gauthier
2c1685bb36
Merge pull request #3823 from mdeweerd/pre-commit-wf
ci: add pre-commit.yml for GitHub Actions
2025-05-08 15:09:16 -07:00
Paul Gauthier (aider)
0af5563e77 style: Fix F841 unused variable in tests 2025-05-08 14:44:07 -07:00
Paul Gauthier
c147571b18 feat: add shell-completions option 2025-05-08 14:43:56 -07:00
Paul Gauthier (aider)
311981f4e5 test: Use os.path.samefile for robust read-only file assertion 2025-05-08 14:39:14 -07:00
MDW
09acfc8147
style(pre-commit): apply python style from pre-commit hooks 2025-05-08 23:28:18 +02:00
Paul Gauthier (aider)
7a3805d39f test: add tests for /reset and /drop with cloned coder 2025-05-08 14:02:46 -07:00
Paul Gauthier (aider)
3ed897c665 fix: Correct Columns call count assertions in io tests 2025-05-08 09:43:36 -07:00
Paul Gauthier (aider)
bfcff84b28 fix: Patch rich.columns.Columns where it is used 2025-05-08 09:42:18 -07:00
Paul Gauthier (aider)
4124cee722 test: Fix TestInputOutputFormatFiles method signatures 2025-05-08 09:39:22 -07:00
Paul Gauthier (aider)
d18a9f32bc fix: Fix flaky tests for pretty file list formatting 2025-05-08 09:38:21 -07:00
Paul Gauthier (aider)
aef3863c4a fix: Remove unused import in test_io.py 2025-05-08 09:36:33 -07:00
Paul Gauthier (aider)
f31128706d style: Format test_io.py 2025-05-08 09:36:20 -07:00
Paul Gauthier (aider)
1307215b8f test: Test io.format_files_for_input pretty output 2025-05-08 09:36:15 -07:00
paul-gauthier
9990965e82
Merge pull request #3679 from andreypopp/main
feat: add repomap support for ocaml/ocaml_interface
2025-05-07 17:29:47 -07:00
paul-gauthier
c6954f9972
Merge pull request #3789 from ei-grad/attribute-co-authored-by
feat: Add Co-authored-by attribution for AI commits
2025-05-07 16:54:46 -07:00
Paul Gauthier
c72e5fcc5e feat: Improve history, faq, and linter tests for Windows and special chars 2025-05-07 16:53:18 -07:00
Titusz Pan
d9aa3cb2d4
Replace shlex with cross-platform oslex 2025-04-23 14:33:01 +02:00
Titusz Pan
5251a2452c
Add test to reproduce linting failure on windows 2025-04-23 14:18:23 +02:00
Paul Gauthier
5e210c700d fix: Handle filenames starting with fences or triple backticks correctly 2025-04-20 16:36:36 -07:00
zjy1412
a564f94bf3 Added two test cases 2025-04-17 16:50:54 +08:00
Andrew Grigorev
1d42690824 fix: update co-authored-by domain to aider.chat
Co-authored-by: aider (vertex_ai/gemini-2.5-pro-exp-03-25) <noreply@aider.dev>
2025-04-12 20:52:55 +03:00
Andrew Grigorev
5851d66174 test: improve test clarity with skipIf and assertion messages
Co-authored-by: aider (vertex_ai/gemini-2.5-pro-exp-03-25) <noreply@aider.dev>
2025-04-12 20:00:44 +03:00
Andrew Grigorev
6a970c3515 test: remove redundant co-authored-by precedence test
Co-authored-by: aider (vertex_ai/gemini-2.5-pro-exp-03-25) <noreply@aider.dev>
2025-04-12 19:58:29 +03:00
Andrew Grigorev
9e91e8f1b2 test: remove redundant commit attribution tests
Co-authored-by: aider (vertex_ai/gemini-2.5-pro-exp-03-25) <noreply@aider.dev>
2025-04-12 19:58:06 +03:00
Andrew Grigorev
3e1bc77bf2 test: add tests for commit author/committer attribution logic
Co-authored-by: aider (vertex_ai/gemini-2.5-pro-exp-03-25) <noreply@aider.dev>
2025-04-12 19:56:18 +03:00