Commit graph

6156 commits

Author SHA1 Message Date
Paul Gauthier
5c7707a51a no user remind 2024-08-20 17:55:26 -07:00
Paul Gauthier
919ea05482 ignore shell edits in base coder 2024-08-20 17:50:31 -07:00
Paul Gauthier
1a3d8c4015 wip 2024-08-20 17:45:40 -07:00
Paul Gauthier
18d6260c44 Merge branch 'main' into shell-commands-new 2024-08-20 17:33:30 -07:00
Paul Gauthier
fa7be35ec9 fix: Handle errors in EditBlockCoder more gracefully 2024-08-20 17:33:23 -07:00
Paul Gauthier (aider)
b229661d0a style: Format code with linter 2024-08-20 17:31:40 -07:00
Paul Gauthier (aider)
359e4129c6 fix: Combine stdout and stderr, output directly without additional messages 2024-08-20 17:31:36 -07:00
Paul Gauthier
8d0c2b1667 fix: Remove unnecessary debug statements and improve shell command confirmation prompt 2024-08-20 17:31:34 -07:00
Paul Gauthier (aider)
7bcd6d4ebb style: format code with linter 2024-08-20 17:28:08 -07:00
Paul Gauthier (aider)
6f0d9a09df feat: Implement shell command execution in EditBlockCoder 2024-08-20 17:28:04 -07:00
Paul Gauthier
682294118d fix: Dump edits in EditBlockCoder 2024-08-20 17:28:03 -07:00
Paul Gauthier
e12157bb98 set version to 0.51.2-dev 2024-08-20 17:23:24 -07:00
Paul Gauthier
4d52ebc412 version bump to 0.51.1 2024-08-20 17:21:19 -07:00
Paul Gauthier
2a99922b8e Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-20 17:07:18 -07:00
Paul Gauthier
60f3dc055c copy 2024-08-20 17:06:14 -07:00
Paul Gauthier
bbfbdb8adb bump versions to fix https://github.com/BerriAI/litellm/issues/5310 2024-08-20 17:05:43 -07:00
Paul Gauthier (aider)
9f3cdf1a94 fix: Remove unused variable shell_type 2024-08-20 17:04:34 -07:00
Paul Gauthier
347f3fe140 fix: Handle case where edit path is None 2024-08-20 17:04:27 -07:00
Paul Gauthier (aider)
72bc851ac0 fix: Implement line-by-line processing for SEARCH/REPLACE and shell code blocks 2024-08-20 16:23:07 -07:00
Paul Gauthier
f198c4a691 fix: Add debug logging to EditBlockCoder 2024-08-20 16:23:06 -07:00
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