Commit graph

5616 commits

Author SHA1 Message Date
Paul Gauthier
3ba6e95d22 fix: Ensure token count is calculated only when verbose mode is enabled 2024-08-05 16:37:34 -03:00
Paul Gauthier (aider)
a864ab9888 feat: Add a dictionary to cache abs_root_path results 2024-08-05 16:28:44 -03:00
Paul Gauthier
b654a16b48 Accept repo maps within 10% of token budget 2024-08-05 16:26:53 -03:00
Paul Gauthier (aider)
65247353bd fix: Remove unused linter variable in get_supported_languages_md function 2024-08-05 16:17:29 -03:00
Paul Gauthier (aider)
b86dde5f0d style: Apply linter edits to repomap.py 2024-08-05 16:17:07 -03:00
Paul Gauthier (aider)
ba1c8d1701 feat: Estimate initial middle value for binary search in get_ranked_tags_map 2024-08-05 16:17:03 -03:00
Paul Gauthier
b19795228f fix: Adjust the starting number for the binary search in the RepoMap class 2024-08-05 16:11:08 -03:00
Paul Gauthier
a85ccc26bc Revert "fix: Add debug logging to get_ident_filename_matches method"
This reverts commit 55fcbc958d.
2024-08-05 16:07:26 -03:00
Paul Gauthier
793035b2e0 improve perf of repomap and other file intensive actions 2024-08-05 16:05:19 -03:00
Paul Gauthier
55fcbc958d fix: Add debug logging to get_ident_filename_matches method 2024-08-05 15:35:02 -03:00
Paul Gauthier
617b1bdee2 Can force repo-map on with: --map-tokens 1024 2024-08-05 14:59:12 -03:00
Paul Gauthier
f8e76bcb88 Try py3.13 2024-08-05 11:11:19 -03:00
deansher
931a87affd extended CONTRIBUTING.md
Documented dev environment and coding standards.
2024-08-05 02:59:09 -04:00
Paul Gauthier
8612ac0e60 Updated HISTORY 2024-08-04 08:05:07 -03:00
Paul Gauthier
c45688c8b8 Carry total costs back to main coder from /help and /ask 2024-08-03 10:18:35 -03:00
Paul Gauthier (aider)
d3fb831e89 feat: Initialize self.total_cost in __init__ method 2024-08-03 10:14:58 -03:00
Paul Gauthier (aider)
b357c90590 feat: Add total_cost as an init parameter and pass it when creating a from_coder 2024-08-03 10:14:24 -03:00
Paul Gauthier
7a7febfb2b better approach to cloning Commands in from_coders 2024-08-03 10:13:21 -03:00
Paul Gauthier
5562bc96c7 Updated HISTORY 2024-08-03 10:09:59 -03:00
Paul Gauthier
24f2741369 fix: Simplify mocking in test_commands.py 2024-08-03 10:05:52 -03:00
Paul Gauthier (aider)
91219eee30 style: Apply linter formatting to test_commands.py 2024-08-03 10:03:32 -03:00
Paul Gauthier (aider)
c454d9435e feat: add test for cmd_ask with mocked chat_coder 2024-08-03 10:03:28 -03:00
Paul Gauthier
ba8d32da42 Use a clone of Commands for sub-Coders, so main Command.coder does not get stomped 2024-08-03 10:01:57 -03:00
Paul Gauthier
47b6c6a8ef Updated HISTORY 2024-08-03 09:45:29 -03:00
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