Commit graph

6122 commits

Author SHA1 Message Date
Paul Gauthier
bbfbdb8adb bump versions to fix https://github.com/BerriAI/litellm/issues/5310 2024-08-20 17:05:43 -07:00
Paul Gauthier
fc055a17c1 fix: Remove unused map_multiplier_no_files attribute from Coder class 2024-08-20 12:59:54 -07:00
Paul Gauthier (aider)
425dc0b99a fix: Add map_multiplier_no_files parameter to Coder.__init__ 2024-08-20 12:54:17 -07:00
Paul Gauthier
9b59c8896a fix: Set map_multiplier_no_files attribute on Coder class 2024-08-20 12:54:16 -07:00
Paul Gauthier (aider)
3ab3265239 feat: Pass map_multiplier_no_files argument from Coder into RepoMap 2024-08-20 12:53:17 -07:00
Paul Gauthier (aider)
87d9a559cb feat: Add --map-multiplier-no-files switch with default value of 2 2024-08-20 12:52:23 -07:00
Paul Gauthier
1ec02d7c73 Note that --map-tokens is suggested not max tokens 2024-08-20 12:45:56 -07:00
Paul Gauthier (aider)
455487e5a9 fix: Round token counts properly for large numbers 2024-08-20 09:38:04 -07:00
Paul Gauthier (aider)
08fe37a684 fix: Add whitespace around arithmetic operators in format_tokens function 2024-08-20 09:36:23 -07:00
Paul Gauthier (aider)
93fe9007f0 feat: Update calculate_and_show_tokens_and_cost to format token counts 2024-08-20 09:36:04 -07:00
Paul Gauthier
959a9fbcf1 copy 2024-08-20 09:17:01 -07:00
Paul Gauthier
c7b50633a6 set version to 0.51.1-dev 2024-08-20 08:51:51 -07:00
Paul Gauthier
39438659f7 version bump to 0.51.0 2024-08-20 08:49:44 -07:00
Paul Gauthier
bf15b81061 copy 2024-08-20 08:19:16 -07:00
Paul Gauthier
3c5092d4cb ignore_cleanup_errors for py>=3.10 2024-08-20 08:18:57 -07:00
Paul Gauthier (aider)
0ec7f8c0c4 feat: add Python version check for TemporaryDirectory 2024-08-20 08:18:38 -07:00
Paul Gauthier
4db6e28118 ignore_cleanup_errors 2024-08-20 08:10:32 -07:00
Paul Gauthier (aider)
45d85b1419 fix: Ignore recursion errors in cleanup method 2024-08-20 08:06:28 -07:00
Paul Gauthier
ccf77e874d fix win tests ci 2024-08-20 07:57:41 -07:00
Paul Gauthier
821eae16ae copy 2024-08-19 20:54:10 -07:00
Paul Gauthier
e0a9044118 copy 2024-08-19 20:53:42 -07:00
Paul Gauthier
730d6e0e94 copy 2024-08-19 20:51:03 -07:00
Paul Gauthier
86a7a17d47 copy 2024-08-19 20:47:52 -07:00
Paul Gauthier
2944445340 copy 2024-08-19 20:44:48 -07:00
Paul Gauthier
ad932654ce fix: Remove unnecessary assertion in test_main.py 2024-08-19 16:07:38 -07:00
Paul Gauthier (aider)
621f91cfee feat: Add test case for --4o and --cache options 2024-08-19 16:07:13 -07:00
Paul Gauthier
d71ea571e4 fix: Remove unnecessary assertion in test_main.py 2024-08-19 16:07:12 -07:00
Paul Gauthier (aider)
3424cda63c feat: Add test for main() with --sonnet and --cache-prompts options 2024-08-19 16:06:34 -07:00
Paul Gauthier
1ea18b83b9 fix: Remove redundant test case for sonnet and cache prompts options 2024-08-19 16:06:33 -07:00
Paul Gauthier (aider)
75a7a0043a feat: Add test for --sonnet --cache-prompts --exit options 2024-08-19 16:05:02 -07:00
Paul Gauthier
f9471fc5b6 fix: Rename cmd_read to cmd_read_only 2024-08-19 16:01:16 -07:00
Paul Gauthier
076db26854 copy 2024-08-19 15:59:03 -07:00
Paul Gauthier
e7fdce0b75 fix: Update test_repomap.py to ensure RepoMap does not change with refresh='files' 2024-08-19 15:56:10 -07:00
Paul Gauthier (aider)
ba6ec1a94c style: Format code for better readability 2024-08-19 15:53:59 -07:00
Paul Gauthier (aider)
66dc844977 refactor: Update test_repo_map_refresh_files 2024-08-19 15:53:56 -07:00
Paul Gauthier (aider)
1f29186240 fix: Add import for time module 2024-08-19 15:52:47 -07:00
Paul Gauthier (aider)
0ba9f63365 style: Format code with linter 2024-08-19 15:52:35 -07:00
Paul Gauthier (aider)
339c03dd90 feat: Add test case for RepoMap refresh="auto" 2024-08-19 15:52:32 -07:00
Paul Gauthier
d875e7ebe0 feat: Add a new source file and update the RepoMap test 2024-08-19 15:50:06 -07:00
Paul Gauthier (aider)
78a4ed69d8 style: Format code using linter 2024-08-19 15:49:47 -07:00
Paul Gauthier (aider)
884ee535af feat: Add file modification time to cache key for render_tree 2024-08-19 15:49:43 -07:00
Paul Gauthier (aider)
56210468f7 feat: Use GitTemporaryDirectory and import git instead of os.system 2024-08-19 15:41:09 -07:00
Paul Gauthier (aider)
b0d8778752 style: Fix code formatting in OCaml test file 2024-08-19 15:40:06 -07:00
Paul Gauthier (aider)
b361310e56 feat: Add test for RepoMap refresh with files 2024-08-19 15:40:03 -07:00
Paul Gauthier (aider)
a42de792ba fix: Remove unused variable temp_dir in test_sonnet_and_cache_options 2024-08-19 15:36:24 -07:00
Paul Gauthier
34dc7cc37d fix: Improve prompt caching and repo map refresh logic 2024-08-19 15:36:13 -07:00
Paul Gauthier (aider)
f8b80548fd style: Fix code formatting in test_main.py 2024-08-19 15:35:23 -07:00
Paul Gauthier (aider)
697a8b66ea fix: Update test_sonnet_and_cache_options to match actual RepoMap call 2024-08-19 15:35:20 -07:00
Paul Gauthier (aider)
ef7abf0de9 fix: Ensure RepoMap() is called with refresh="files" in test_sonnet_and_cache_options 2024-08-19 15:34:38 -07:00
Paul Gauthier
6db122788a fix: Remove unnecessary assertion in test_main.py 2024-08-19 15:34:36 -07:00