Commit graph

6309 commits

Author SHA1 Message Date
Paul Gauthier (aider)
1dc325cc72 feat: add test for /read-only command with multiple files 2024-08-22 16:46:19 -07:00
Paul Gauthier (aider)
f4efac628f fix: Enhance /read-only command to handle multiple files 2024-08-22 16:45:18 -07:00
Paul Gauthier
56e8f6db40 just show > not code> if in default edit format 2024-08-22 15:51:03 -07:00
Paul Gauthier
d7279a1129 fix: Remove unused get_last_modified method from Coder class 2024-08-22 14:01:20 -07:00
Paul Gauthier
8a4409dd05 fix: Find common root for all absolute file names 2024-08-22 13:59:16 -07:00
Paul Gauthier (aider)
5e93dcf2cc feat: Use safe_abs_path in find_common_root function 2024-08-22 13:57:40 -07:00
Paul Gauthier (aider)
1a50a8cc5e fix: remove unnecessary import in aider/utils.py 2024-08-22 13:55:52 -07:00
Paul Gauthier (aider)
880ade4f12 style: Run linter 2024-08-22 13:55:36 -07:00
Paul Gauthier (aider)
221cde0fed refactor: Move find_common_root into aider/utils.py and update Coder class to use it 2024-08-22 13:55:32 -07:00
Paul Gauthier
8c886d7dd3 refactor to use auto_commit 2024-08-22 13:55:01 -07:00
Paul Gauthier
d5dab29eda copy 2024-08-22 13:35:40 -07:00
Paul Gauthier
8c0603fef6 ssh 2024-08-22 13:33:56 -07:00
Paul Gauthier
771d3e3b73 fix: Add shell_commands attribute to Coder class 2024-08-22 13:30:53 -07:00
Paul Gauthier
544b8dd800 refactor shell_commands, so the run after autocommit 2024-08-22 13:27:01 -07:00
Paul Gauthier
20299b2927 refactor: Rename update_files to apply_updates 2024-08-22 12:47:29 -07:00
Paul Gauthier
100e0b9856 fix: Update update_cur_messages method in WholeFileCoder class 2024-08-22 12:45:50 -07:00
Paul Gauthier (aider)
e0bab8505a fix: Remove duplicate ChatChunks import and empty lines 2024-08-22 12:39:35 -07:00
Paul Gauthier (aider)
eec086e266 style: Fix linter issues in base_coder.py 2024-08-22 12:39:16 -07:00
Paul Gauthier (aider)
f7d64e4c90 fix: Remove unused imports and move ChatChunks import to top of file 2024-08-22 12:39:12 -07:00
Paul Gauthier (aider)
69131a423e fix: Import ChatChunks class from separate file 2024-08-22 12:33:42 -07:00
Paul Gauthier (aider)
9928d5269b refactor: Move ChatChunks class to its own file 2024-08-22 12:33:32 -07:00
Paul Gauthier
07a939e0da feat: Add chat_chunks.py file 2024-08-22 12:33:30 -07:00
Paul Gauthier
72fd24e071 keep track of edited files during reflections 2024-08-22 12:21:28 -07:00
Paul Gauthier
8c47b5e633 improve auto commit logic, cleanup 2024-08-22 12:15:23 -07:00
Paul Gauthier (aider)
eff169cb5d style: Format code with consistent indentation and line breaks 2024-08-22 10:17:18 -07:00
Paul Gauthier (aider)
e81f83ffc5 fix: Use UTF-8 encoding when processing and reading files 2024-08-22 10:17:15 -07:00
Paul Gauthier (aider)
f54070f0f5 fix: Remove unused import of 'os' module 2024-08-22 09:57:31 -07:00
Paul Gauthier (aider)
7621162baa style: Fix linter issues in test_find_or_blocks.py 2024-08-22 09:57:21 -07:00
Paul Gauthier (aider)
29a323c55d fix: Run process_markdown if a file is provided on the command line, otherwise run unittest 2024-08-22 09:57:18 -07:00
Paul Gauthier (aider)
1ee481f4ea style: Format Python code using linter 2024-08-22 09:48:14 -07:00
Paul Gauthier (aider)
210a9e5a49 feat: add test case for process_markdown 2024-08-22 09:48:11 -07:00
Paul Gauthier
14a755aafd fix: Update print statement to remove unnecessary arguments 2024-08-22 09:48:03 -07:00
Paul Gauthier
97ef1dd9db initial 2024-08-22 09:47:30 -07:00
Paul Gauthier
53d0729cac initial 2024-08-22 09:45:01 -07:00
Paul Gauthier (aider)
f55fd9734f style: remove unnecessary JSON usage in usage message 2024-08-22 09:42:35 -07:00
Paul Gauthier (aider)
f2fa99b79f style: format code with linter 2024-08-22 09:42:05 -07:00
Paul Gauthier (aider)
905cbc377d feat: Add file handle support to process_markdown 2024-08-22 09:42:02 -07:00
Paul Gauthier
a16ee761a7 fix: Restore the all_fences definition from the base_coder module 2024-08-22 09:40:34 -07:00
Paul Gauthier
97c6002690 moved to tests/basic/test_find_or_blocks.py 2024-08-22 09:27:53 -07:00
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