Commit graph

5616 commits

Author SHA1 Message Date
Paul Gauthier
f696d0933f fix: Update test_lint_option to handle dirty file in root directory 2024-08-01 16:58:50 -03:00
Paul Gauthier (aider)
bb279d6899 feat: Add test for --lint option 2024-08-01 16:42:12 -03:00
Paul Gauthier
103452aa21 fix: Remove unnecessary file caching and simplify subtree-only check 2024-08-01 16:37:38 -03:00
Paul Gauthier (aider)
24aa48198b fix: Use os.path.commonpath() to check if fname_path is below cwd_path 2024-08-01 16:28:10 -03:00
Paul Gauthier
f26862d92c fix: Add caching and logging for ignored file checks 2024-08-01 16:28:09 -03:00
Paul Gauthier (aider)
1c6cdb97ae refactor: Split ignored_file into ignored_file and ignored_file_raw 2024-08-01 16:25:41 -03:00
Paul Gauthier
17e2c02a47 fix: Improve handling of ignored files in GitRepo class 2024-08-01 16:25:40 -03:00
Paul Gauthier
f458fa86ac feat: implement caching for ignored files in GitRepo class 2024-08-01 16:02:53 -03:00
Paul Gauthier (aider)
b8dfb18aa9 feat: Add subtree_only attribute to GitRepo class 2024-08-01 15:57:43 -03:00
Paul Gauthier (aider)
d05f1e6446 feat: Add subtree_only functionality to GitRepo class 2024-08-01 15:56:45 -03:00
Paul Gauthier (aider)
88bfc74b52 feat: Add --subtree-only argument and pass it to GitRepo 2024-08-01 15:55:34 -03:00
Paul Gauthier
e66df79aaf fix: Restructure imports in main.py 2024-08-01 15:51:32 -03:00
Paul Gauthier (aider)
1a3221e400 fix: Remove unused import of InputOutput from aider.io 2024-08-01 15:46:59 -03:00
Paul Gauthier
1d875cc5f0 fix: Remove unnecessary assertions in test_scripting.py 2024-08-01 15:46:53 -03:00
Paul Gauthier (aider)
d2dc79978e style: Fix linter issues in test_scripting.py 2024-08-01 15:44:58 -03:00
Paul Gauthier (aider)
a4b6dea54d feat: use GitTemporaryDirectory for scripting tests 2024-08-01 15:44:55 -03:00
Paul Gauthier
99ce27f151 fix: Set partial_response_function_call to None in mock_send_side_effect 2024-08-01 15:44:54 -03:00
Paul Gauthier (aider)
bde6bb5c18 style: format code with linter 2024-08-01 15:42:48 -03:00
Paul Gauthier (aider)
96940a319a fix: Handle functions argument in test mocks 2024-08-01 15:42:44 -03:00
Paul Gauthier
8a6f1337f6 fix: Move mock_send_side_effect definition before its usage 2024-08-01 15:42:43 -03:00
Paul Gauthier (aider)
58a732312b fix: Remove unused import of MagicMock 2024-08-01 15:40:45 -03:00
Paul Gauthier (aider)
f23c1c94fa style: format code 2024-08-01 15:40:25 -03:00
Paul Gauthier (aider)
830868605b fix: Set coder.partial_response_content in mocked send() method 2024-08-01 15:40:23 -03:00
Paul Gauthier (aider)
82a0e5ec40 style: format code to improve readability 2024-08-01 15:37:37 -03:00
Paul Gauthier (aider)
4eb8be9d06 fix: Mock Coder.send() instead of Coder.create and Model 2024-08-01 15:37:34 -03:00
Paul Gauthier (aider)
b29a6e8fa4 style: Format Python code with black 2024-08-01 15:36:29 -03:00
Paul Gauthier (aider)
a480b90217 feat: add unit tests for Python scripting API 2024-08-01 15:36:26 -03:00
Paul Gauthier
f7d0f0c604 feat: Add basic scripting tests 2024-08-01 15:36:24 -03:00
Paul Gauthier
aad52eaae2 fix: Update Coder import path in test_main.py 2024-08-01 15:32:39 -03:00
Paul Gauthier
387b2710b0 fix: Refactor Coder creation to use GitRepo instance 2024-08-01 15:30:49 -03:00
Paul Gauthier
dec8425236 fix: Use None as the working directory for GitRepo in base_coder.py 2024-08-01 15:25:57 -03:00
Paul Gauthier
283ac13d2c Fix tests to use new GitRepo 2024-08-01 15:25:31 -03:00
Paul Gauthier (aider)
ff3d067d94 feat: use weak model first for summarizer in Coder 2024-08-01 14:55:22 -03:00
Paul Gauthier (aider)
ede3f3dfcb feat: Use weak model first in ChatSummary 2024-08-01 14:55:09 -03:00
Paul Gauthier
60ec3c9228 fix: Use default max_chat_history_tokens if not provided 2024-08-01 14:55:08 -03:00
Paul Gauthier (aider)
9bf518fff7 fix: Remove unused import of Coder 2024-08-01 14:53:07 -03:00
Paul Gauthier
0ea2b8bcfe fix: Add coder reference to commands 2024-08-01 14:52:59 -03:00
Paul Gauthier (aider)
b0e6373c77 style: format imports in main.py 2024-08-01 14:50:29 -03:00
Paul Gauthier (aider)
f98a229c31 refactor: Refactor ChatSummary initialization and remove max_chat_history_tokens parameter from Coder 2024-08-01 14:50:26 -03:00
Paul Gauthier (aider)
df70119da0 style: Apply linter formatting changes 2024-08-01 14:50:00 -03:00
Paul Gauthier (aider)
aa3e17dae6 refactor: Refactor ChatSummary initialization and remove max_chat_history_tokens param from Coder 2024-08-01 14:49:54 -03:00
Paul Gauthier
2ee34ac189 fix: Remove unused verify_ssl argument from main function 2024-08-01 14:49:52 -03:00
Paul Gauthier (aider)
7a3a189f8c fix: Remove verify_ssl parameter from Coder.__init__ 2024-08-01 14:47:33 -03:00
Paul Gauthier (aider)
9ca5bab087 style: Apply linter formatting changes 2024-08-01 14:46:22 -03:00
Paul Gauthier (aider)
2f3cd436a6 fix: Remove unused import and update Commands initialization in main.py 2024-08-01 14:46:17 -03:00
Paul Gauthier (aider)
b5e51d138e refactor: Initialize Commands instance in Coder 2024-08-01 14:45:57 -03:00
Paul Gauthier (aider)
70fbe10643 feat: Initialize GitRepo in main, pass it into Coder 2024-08-01 14:43:17 -03:00
Paul Gauthier
2fe3701f22 copy 2024-08-01 14:37:38 -03:00
Paul Gauthier (aider)
73bf90f007 feat: Add /add-clipboard-image command 2024-08-01 14:31:48 -03:00
Paul Gauthier
15f589f642 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-01 12:37:48 -03:00