Commit graph

6320 commits

Author SHA1 Message Date
Paul Gauthier
4555e36e20 do not treat editblocks as shell commands 2024-08-22 09:26:50 -07:00
Paul Gauthier
695e8c384c fix: Update error message formatting in process_markdown function 2024-08-22 09:10:31 -07:00
Paul Gauthier
882cf676b9 fix: Handle errors in processing Markdown sections 2024-08-22 09:01:04 -07:00
Paul Gauthier (aider)
8ec67d339d fix: Remove unused variable section_result 2024-08-22 08:58:08 -07:00
Paul Gauthier
892f0b9a9d fix: Update file processing logic in testsr.py 2024-08-22 08:57:03 -07:00
Paul Gauthier
8b1113dd2d fix: Refactor all_fences import and add new fence definitions 2024-08-22 08:47:09 -07:00
Paul Gauthier
52ddef9f79 fix: Remove unnecessary checks and simplify content extraction in process_markdown function 2024-08-22 08:46:50 -07:00
Paul Gauthier
1d6bdfce80 skip editblocks 2024-08-22 08:38:54 -07:00
Paul Gauthier
f8a1db5318 feat: Add all_fences list to base_coder.py 2024-08-22 08:24:00 -07:00
Paul Gauthier (aider)
f064820f06 fix: Remove unused import of DEFAULT_FENCE 2024-08-22 08:23:19 -07:00
Paul Gauthier (aider)
15d5377040 style: Fix formatting in testsr.py 2024-08-22 08:22:51 -07:00
Paul Gauthier (aider)
2f7e690966 fix: Correct indentation in process_markdown function 2024-08-22 08:22:48 -07:00
Paul Gauthier (aider)
d48d231349 style: Apply linter formatting to testsr.py 2024-08-22 08:22:09 -07:00
Paul Gauthier (aider)
b219e790a4 fix: Move FileNotFoundError handling up after file open and read 2024-08-22 08:22:06 -07:00
Paul Gauthier
35c6d5b569 fix: Update the all_fences import and usage in the process_markdown function 2024-08-22 08:22:04 -07:00
Paul Gauthier (aider)
9982863042 fix: move except ValueError up right after find_original_update_blocks 2024-08-22 08:19:44 -07:00
Paul Gauthier (aider)
1e1bb53ca3 fix: Correct indentation in testsr.py 2024-08-22 08:18:54 -07:00
Paul Gauthier (aider)
333fcf5624 style: Format imports in testsr.py 2024-08-22 08:18:30 -07:00
Paul Gauthier (aider)
d8e5f4fdec refactor: Optimize if section.strip() condition 2024-08-22 08:18:27 -07:00
Paul Gauthier
9463639228 fix: Add all_fences import from aider.coders.editblock_coder 2024-08-22 08:18:26 -07:00
Paul Gauthier (aider)
6a612d784f feat: add shebang 2024-08-22 08:01:35 -07:00
Paul Gauthier
ed60c094b9 fix: Make testsr.py executable 2024-08-22 08:01:24 -07:00
Paul Gauthier (aider)
10d885dfd1 style: Apply linter formatting to testsr.py 2024-08-22 06:40:06 -07:00
Paul Gauthier (aider)
b32fa29ba4 fix: Catch exceptions in find_original_update_blocks 2024-08-22 06:40:03 -07:00
Paul Gauthier
ac5667696c fix: Replace error message with raw exception 2024-08-22 06:40:02 -07:00
Paul Gauthier (aider)
cb7879a89a style: use indent=4 for all json.dumps calls 2024-08-22 06:37:36 -07:00
Paul Gauthier (aider)
4763582c9e style: Format Python code 2024-08-22 06:34:22 -07:00
Paul Gauthier (aider)
7e763094b3 feat: Replace wordcount with find_original_update_blocks in testsr.py 2024-08-22 06:34:19 -07:00
Paul Gauthier (aider)
3272a2b84e style: Apply linter formatting to testsr.py 2024-08-22 06:30:57 -07:00
Paul Gauthier (aider)
55bca8d9e9 feat: Implement a script to process Markdown files and count words in each section 2024-08-22 06:30:54 -07:00
Paul Gauthier
53d992aa97 fix: Add testsr.py 2024-08-22 06:30:50 -07:00
Paul Gauthier
2c2c0690e0 copy 2024-08-22 06:27:58 -07:00
Paul Gauthier
d59f6b4dd1 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-22 06:27:04 -07:00
Paul Gauthier
b2488af638 fix: Handle path-specific edits in base_coder.py
test: Update test_main.py to check for explicit approval of shell commands
2024-08-21 21:47:11 -07:00
Paul Gauthier (aider)
c7bf46bf68 fix: Remove unused ApplyShellCommandsError import 2024-08-21 21:46:03 -07:00
Paul Gauthier (aider)
f46e3dea11 refactor: Remove ApplyShellCommandsError handling from test 2024-08-21 21:45:54 -07:00
Paul Gauthier (aider)
b54fc0d848 style: Fix import order in test_main.py 2024-08-21 21:42:50 -07:00
Paul Gauthier (aider)
84bb1895ee feat: Add --apply option to main() and raise ApplyShellCommandsError 2024-08-21 21:42:47 -07:00
Paul Gauthier (aider)
abb69c9543 style: Apply linter edits to test_io.py 2024-08-21 21:38:06 -07:00
Paul Gauthier (aider)
b5c1ae69a9 feat: Add test for explicit_yes_required in confirm_ask method 2024-08-21 21:38:03 -07:00
Paul Gauthier
3c249c6b3c fix: Require explicit yes for running shell commands 2024-08-21 21:37:07 -07:00
Paul Gauthier (aider)
97b47602e1 feat: Add explicit_yes_required param to confirm_ask 2024-08-21 21:30:36 -07:00
Paul Gauthier (aider)
4ce08178fc feat: Add test for /reset command 2024-08-21 21:26:51 -07:00
paul-gauthier
0e25104be5
Update HISTORY.md 2024-08-21 18:16:02 -07:00
Paul Gauthier
d664c15021 copy 2024-08-21 16:20:58 -07:00
Paul Gauthier
99f330f30b fix: Improve formatting of file list and edit format in input prompt 2024-08-21 16:08:52 -07:00
Paul Gauthier (aider)
c9c45cb3ed style: format code 2024-08-21 16:08:30 -07:00
Paul Gauthier (aider)
6f9d4a2c72 feat: pass "code" instead of self.edit_format when it matches self.main_model.edit_format 2024-08-21 16:08:24 -07:00
Paul Gauthier (aider)
70fb4c2d03 feat: Pass coder.edit_format into get_input 2024-08-21 16:07:49 -07:00
Paul Gauthier (aider)
b79776f78f style: Format code according to linter rules 2024-08-21 16:05:52 -07:00