Commit graph

6386 commits

Author SHA1 Message Date
paul-gauthier
af90e8ef53
Merge pull request #1137 from pcamp/patch-1 2024-08-20 14:22:10 -07:00
pcamp
deedeff6f9
Fix typos in edit-errors.md 2024-08-20 16:08:31 -05:00
Paul Gauthier (aider)
574efcd35d fix: Handle shell commands in apply_edits method 2024-08-20 13:40:28 -07:00
Paul Gauthier (aider)
5f4d6bc4a5 feat: Add support for executing shell commands in apply_edits 2024-08-20 13:31:14 -07:00
Paul Gauthier
c4855c84da fix: Remove unnecessary metadata from EditBlockCoder 2024-08-20 13:31:13 -07:00
Paul Gauthier (aider)
a0f9989f1c style: format shell code block starts 2024-08-20 13:28:48 -07:00
Paul Gauthier (aider)
64b92c8d89 feat: Expand support for commonly used shells 2024-08-20 13:28:44 -07:00
Paul Gauthier (aider)
7ebbb3d4f4 fix: Expand code block detection to support various Windows shells 2024-08-20 13:28:10 -07:00
Paul Gauthier (aider)
3984716608 style: Apply linter formatting changes 2024-08-20 13:26:31 -07:00
Paul Gauthier (aider)
9dea3f48cb feat: Add support for scanning and yielding ```bash blocks in find_original_update_blocks 2024-08-20 13:26:27 -07:00
Paul Gauthier
8b81d4fd45 Merge branch 'main' into shell-commands 2024-08-20 13:03:19 -07:00
Paul Gauthier
fc055a17c1 fix: Remove unused map_multiplier_no_files attribute from Coder class 2024-08-20 12:59:54 -07:00
Paul Gauthier (aider)
425dc0b99a fix: Add map_multiplier_no_files parameter to Coder.__init__ 2024-08-20 12:54:17 -07:00
Paul Gauthier
9b59c8896a fix: Set map_multiplier_no_files attribute on Coder class 2024-08-20 12:54:16 -07:00
Paul Gauthier (aider)
3ab3265239 feat: Pass map_multiplier_no_files argument from Coder into RepoMap 2024-08-20 12:53:17 -07:00
Paul Gauthier (aider)
87d9a559cb feat: Add --map-multiplier-no-files switch with default value of 2 2024-08-20 12:52:23 -07:00
Paul Gauthier
ace983730a shell commands prompt 2024-08-20 12:50:04 -07:00
Paul Gauthier
1ec02d7c73 Note that --map-tokens is suggested not max tokens 2024-08-20 12:45:56 -07:00
Paul Gauthier (aider)
041d7bf850 style: Fix linter issues in test_main.py 2024-08-20 10:57:47 -07:00
Paul Gauthier (aider)
7538b3be9e feat: add test for return_coder parameter 2024-08-20 10:57:44 -07:00
Paul Gauthier
c13b277070 ModelSettings.reminder_as_sys_msg:true/false -> reminder:sys/user/None 2024-08-20 10:51:37 -07:00
Paul Gauthier (aider)
455487e5a9 fix: Round token counts properly for large numbers 2024-08-20 09:38:04 -07:00
Paul Gauthier (aider)
08fe37a684 fix: Add whitespace around arithmetic operators in format_tokens function 2024-08-20 09:36:23 -07:00
Paul Gauthier (aider)
93fe9007f0 feat: Update calculate_and_show_tokens_and_cost to format token counts 2024-08-20 09:36:04 -07:00
Paul Gauthier
959a9fbcf1 copy 2024-08-20 09:17:01 -07:00
Paul Gauthier
c7b50633a6 set version to 0.51.1-dev 2024-08-20 08:51:51 -07:00
Paul Gauthier
39438659f7 version bump to 0.51.0 2024-08-20 08:49:44 -07:00
Paul Gauthier
bf15b81061 copy 2024-08-20 08:19:16 -07:00
Paul Gauthier
3c5092d4cb ignore_cleanup_errors for py>=3.10 2024-08-20 08:18:57 -07:00
Paul Gauthier (aider)
0ec7f8c0c4 feat: add Python version check for TemporaryDirectory 2024-08-20 08:18:38 -07:00
Paul Gauthier
4db6e28118 ignore_cleanup_errors 2024-08-20 08:10:32 -07:00
Paul Gauthier (aider)
45d85b1419 fix: Ignore recursion errors in cleanup method 2024-08-20 08:06:28 -07:00
Paul Gauthier
ccf77e874d fix win tests ci 2024-08-20 07:57:41 -07:00
Paul Gauthier
821eae16ae copy 2024-08-19 20:54:10 -07:00
Paul Gauthier
e0a9044118 copy 2024-08-19 20:53:42 -07:00
Paul Gauthier
730d6e0e94 copy 2024-08-19 20:51:03 -07:00
Paul Gauthier
86a7a17d47 copy 2024-08-19 20:47:52 -07:00
Paul Gauthier
2944445340 copy 2024-08-19 20:44:48 -07:00
Paul Gauthier
ad932654ce fix: Remove unnecessary assertion in test_main.py 2024-08-19 16:07:38 -07:00
Paul Gauthier (aider)
621f91cfee feat: Add test case for --4o and --cache options 2024-08-19 16:07:13 -07:00
Paul Gauthier
d71ea571e4 fix: Remove unnecessary assertion in test_main.py 2024-08-19 16:07:12 -07:00
Paul Gauthier (aider)
3424cda63c feat: Add test for main() with --sonnet and --cache-prompts options 2024-08-19 16:06:34 -07:00
Paul Gauthier
1ea18b83b9 fix: Remove redundant test case for sonnet and cache prompts options 2024-08-19 16:06:33 -07:00
Paul Gauthier (aider)
75a7a0043a feat: Add test for --sonnet --cache-prompts --exit options 2024-08-19 16:05:02 -07:00
Paul Gauthier
f9471fc5b6 fix: Rename cmd_read to cmd_read_only 2024-08-19 16:01:16 -07:00
Paul Gauthier
076db26854 copy 2024-08-19 15:59:03 -07:00
Paul Gauthier
e7fdce0b75 fix: Update test_repomap.py to ensure RepoMap does not change with refresh='files' 2024-08-19 15:56:10 -07:00
Paul Gauthier (aider)
ba6ec1a94c style: Format code for better readability 2024-08-19 15:53:59 -07:00
Paul Gauthier (aider)
66dc844977 refactor: Update test_repo_map_refresh_files 2024-08-19 15:53:56 -07:00
Paul Gauthier (aider)
1f29186240 fix: Add import for time module 2024-08-19 15:52:47 -07:00