Commit graph

5479 commits

Author SHA1 Message Date
Paul Gauthier
9c29eaf776 copy 2024-08-01 18:19:37 -03:00
Paul Gauthier
5e818c2899 support 8k output with 3.5 sonnet 2024-08-01 17:52:14 -03:00
Paul Gauthier (aider)
32d82b3175 feat: Use ModelSettings to set defaults in Model.__init__ 2024-08-01 17:31:13 -03:00
Paul Gauthier (aider)
38b411a6cb feat: Add extra_headers parameter to send_with_retries function 2024-08-01 17:27:31 -03:00
Paul Gauthier
83b72c5a5d copy 2024-08-01 17:20:46 -03:00
Paul Gauthier
008ae54a55 fix: Add time.sleep to wait for file changes to be detected 2024-08-01 17:20:38 -03:00
Paul Gauthier (aider)
ca0ee9e9ba style: Fix import order in aider/repo.py 2024-08-01 17:19:31 -03:00
Paul Gauthier (aider)
a36861a01a refactor: Implement once-per-second check for aider ignore file 2024-08-01 17:19:27 -03:00
Paul Gauthier
33ff801f82 feat: Add refresh_aider_ignore method to GitRepo class 2024-08-01 17:19:26 -03:00
Paul Gauthier (aider)
97688b91ee style: Fix linter issues in test_main.py 2024-08-01 17:02:34 -03:00
Paul Gauthier (aider)
f14de907f3 fix: Use os.path.sep for portable path separator 2024-08-01 17:02:31 -03:00
Paul Gauthier
96dca6cd5f fix: Use get_dirty_files method to retrieve dirty files in the repository 2024-08-01 16:59:06 -03:00
Paul Gauthier (aider)
2a4b6da1d9 test: Ensure Linter is called with correct filename 2024-08-01 16:58:51 -03:00
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