Commit graph

1315 commits

Author SHA1 Message Date
Paul Gauthier (aider)
d893b54b0a refactor: Extract shell command handling into a separate method 2024-08-21 13:23:03 -07:00
Paul Gauthier
eb43a1fb43 fix: Handle empty and commented shell commands in EditBlockCoder 2024-08-21 13:23:01 -07:00
Paul Gauthier (aider)
a9fe599591 style: format code using linter 2024-08-21 13:12:06 -07:00
Paul Gauthier (aider)
9706d54293 feat: Handle multi-line shell commands in EditBlockCoder 2024-08-21 13:12:02 -07:00
Paul Gauthier
d5f1359cc2 prompt for dependencies 2024-08-21 10:14:54 -07:00
Paul Gauthier (aider)
f7f64d6cc1 feat: Add support for alternative HEAD/DIVIDER/DIVIDER format in S/R blocks 2024-08-21 09:14:44 -07:00
Paul Gauthier
c351d76c2b remind about suggesting shell commands 2024-08-21 09:08:08 -07:00
Paul Gauthier
3e5554c24f fix: Update confirm_ask prompts to use consistent formatting 2024-08-21 08:08:31 -07:00
Paul Gauthier (aider)
ad77fe20b5 fix: Remove unnecessary f-strings 2024-08-21 05:38:24 -07:00
Paul Gauthier
ba746dd211 fix: Improve confirm dialog messages 2024-08-21 05:38:13 -07:00
Paul Gauthier (aider)
4537e1a9f5 feat: Add shell command to input history before execution 2024-08-21 05:17:18 -07:00
Paul Gauthier
623e4bb2d9 prompt copy 2024-08-21 05:07:42 -07:00
Paul Gauthier
6201796181 prompt whitespace 2024-08-21 05:07:07 -07:00
Paul Gauthier (aider)
0006d70a7c style: Fix import order and formatting in editblock_coder.py 2024-08-20 19:25:13 -07:00
Paul Gauthier (aider)
4917054518 fix: Implement portable way to run interactive subprocesses 2024-08-20 19:25:09 -07:00
Paul Gauthier (aider)
15ebdcc45c fix: run subprocess with no stdin 2024-08-20 19:21:07 -07:00
Paul Gauthier
cbe76bb49a +To rename files, use shell commands. 2024-08-20 18:54:32 -07:00
Paul Gauthier
fd5eb164b5 bold the command 2024-08-20 18:52:38 -07:00
Paul Gauthier
989c557314 shell cmds, not code 2024-08-20 18:02:44 -07:00
Paul Gauthier
919ea05482 ignore shell edits in base coder 2024-08-20 17:50:31 -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 (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 (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
ace983730a shell commands prompt 2024-08-20 12:50:04 -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
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
53db8cfa82 fix: Update model output formatting in base_coder.py 2024-08-18 13:17:26 -07:00
Paul Gauthier (aider)
4d36518de0 feat: Add symbol to announcement if prompt caching is enabled and supported 2024-08-18 13:14:38 -07:00
Paul Gauthier
ded270ee8b feat: Add force_refresh option to get_repo_map method 2024-08-18 13:07:38 -07:00