Commit graph

5592 commits

Author SHA1 Message Date
paul-gauthier
e48b44474f
Merge pull request #992 from Taik/main
Disable 8k token for vertex_ai/claude-3-5-sonnet
2024-08-02 16:28:41 -03:00
Thinh Nguyen
736d354280
Disable 8k token for vertex_ai/claude-3-5-sonnet 2024-08-02 12:03:01 -07:00
Paul Gauthier
da3e507ec4 Revert "rename simple_send_with_retries -> send_with_retries"
This reverts commit d619edf6e9.
2024-08-02 10:49:44 -03:00
Paul Gauthier
d619edf6e9 rename simple_send_with_retries -> send_with_retries 2024-08-02 10:35:10 -03:00
Paul Gauthier (aider)
b543dda664 fix: Remove unnecessary f-strings 2024-08-02 09:16:36 -03:00
Paul Gauthier (aider)
45462226d4 feat: pass verbose into register_litellm_models and only show tool_output if verbose 2024-08-02 09:16:19 -03:00
Paul Gauthier
92d70c6394 fix: Improve model settings and metadata loading messages 2024-08-02 09:16:18 -03:00
Paul Gauthier
c50c3ddbda fix: Add verbose check for model settings file loading message 2024-08-02 09:13:05 -03:00
Paul Gauthier (aider)
287d19bb00 fix: Pass verbose flag to register_models function 2024-08-02 09:11:07 -03:00
Paul Gauthier (aider)
001466b01f feat: Add verbose output for loaded and searched YAML files 2024-08-02 09:10:43 -03:00
Paul Gauthier (aider)
8323d992a9 fix: Move .env loading output to verbose mode 2024-08-02 09:09:46 -03:00
Paul Gauthier
983da4b1c9 bump dep versions to pickup litellm bug fixes 2024-08-02 06:55:34 -03:00
Paul Gauthier
4a42a07237 fix: Handle empty status codes in litellm retry decorator 2024-08-01 18:33:52 -03:00
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