Commit graph

3779 commits

Author SHA1 Message Date
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 (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
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
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 (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
076db26854 copy 2024-08-19 15:59:03 -07:00
Paul Gauthier (aider)
78a4ed69d8 style: Format code using linter 2024-08-19 15:49:47 -07:00
Paul Gauthier (aider)
884ee535af feat: Add file modification time to cache key for render_tree 2024-08-19 15:49:43 -07:00
Paul Gauthier
34dc7cc37d fix: Improve prompt caching and repo map refresh logic 2024-08-19 15:36:13 -07:00
Paul Gauthier
2dd7d2e0b6 sssh 2024-08-19 14:54:44 -07:00
Paul Gauthier
4c2c0ac871 Handle all the token/cost corner cases 2024-08-19 14:19:35 -07:00
Paul Gauthier
b200bde319 fix: Add cache headers for prompts when using a model with cache control 2024-08-19 13:34:57 -07:00
Paul Gauthier
b7e325be36 copy 2024-08-19 12:17:33 -07:00
Paul Gauthier
5fec384234 copy 2024-08-19 12:11:32 -07:00
Paul Gauthier (aider)
69e471f91c fix: Catch and ignore SwitchCoder error in main function when running with --message 2024-08-19 11:56:14 -07:00
Paul Gauthier
b8d09e1f04 load litellm if model metadata json is present 2024-08-19 10:37:49 -07:00