Commit graph

6602 commits

Author SHA1 Message Date
Paul Gauthier (aider)
9231154871 feat: add cacheable_messages() method to ChatChunks class 2024-08-26 15:13:37 -07:00
Paul Gauthier
8ffbf96151 copy 2024-08-26 15:07:45 -07:00
Paul Gauthier
5481d4385e fix: Remove redundant assertion from test cases 2024-08-26 14:44:18 -07:00
Paul Gauthier (aider)
0a05f7efd7 fix: Ensure tool_error is called at least once in tests 2024-08-26 14:43:42 -07:00
Paul Gauthier (aider)
fefe6f7424 fix: Remove unused import statement in tests/basic/test_models.py 2024-08-26 14:43:00 -07:00
Paul Gauthier (aider)
f74fa16e4a style: Fix import order in test_models.py 2024-08-26 14:42:26 -07:00
Paul Gauthier (aider)
abf19a61cf feat: Add tests for sanity_check_model function 2024-08-26 14:42:24 -07:00
Paul Gauthier (aider)
2e573af1d8 style: Fix formatting in models.py 2024-08-26 14:40:29 -07:00
Paul Gauthier (aider)
b51b5cf12d feat: Display environment variables status when showing missing variables 2024-08-26 14:40:25 -07:00
Paul Gauthier
58d1b4c2ca improved bedrock docs #713 2024-08-26 14:24:18 -07:00
Paul Gauthier
66e9c3834a fix: Improve filename detection in find_filename function 2024-08-26 13:52:35 -07:00
Paul Gauthier (aider)
a716fda897 fix: Handle partial filename matches correctly in find_filename 2024-08-26 13:49:11 -07:00
Paul Gauthier (aider)
528a3372d8 feat: add tests for find_filename 2024-08-26 13:43:10 -07:00
Paul Gauthier
510e50cbe6 copy 2024-08-26 12:23:01 -07:00
Paul Gauthier
59ae9d9daf turn off openrouter referer special case for sonnet 2024-08-26 12:20:50 -07:00
Paul Gauthier
5b672e9bfd only take fuzzy matches that match a single valid fname 2024-08-26 12:11:49 -07:00
Paul Gauthier (aider)
e17a1fff3a feat: implement fuzzy filename matching 2024-08-26 12:10:33 -07:00
Paul Gauthier
dfce19f186 fix: Add fuzzy matching for finding filename in editblock_coder 2024-08-26 12:10:32 -07:00
Paul Gauthier
4b2227c71f don't disrupt \_ in filenames #1158 2024-08-26 12:08:46 -07:00
Paul Gauthier
8c766f81b2 use valid_fnames to improve find_filename 2024-08-26 12:03:36 -07:00
Paul Gauthier
ce2324c0c6 stronger prompt for full file path #1159 2024-08-26 10:58:35 -07:00
Paul Gauthier
cf1801cb3c proper error message if /add non-git dir #1175 2024-08-25 12:19:01 -07:00
Paul Gauthier
65d224fba4 fix: Add support for directories with special characters in cmd_add 2024-08-25 12:05:31 -07:00
Paul Gauthier
7b2379c7c2 fix: Remove unnecessary ConfirmGroup from confirm_ask call 2024-08-25 10:20:46 -07:00
Paul Gauthier
483b7ec41f copy 2024-08-25 09:57:22 -07:00
Paul Gauthier
7ba798647f restore the reminder for sonnet 2024-08-25 09:56:32 -07:00
Paul Gauthier (aider)
2849c8bf78 fix: Remove unused imports in tests/basic/test_models.py 2024-08-25 09:54:49 -07:00
Paul Gauthier
27f9b7a251 fix: Remove unused imports and tests in test_models.py 2024-08-25 09:54:43 -07:00
Paul Gauthier
f4d81f3473 url 2024-08-25 09:53:00 -07:00
Paul Gauthier (aider)
4200c575f8 feat: add tests for get_model_info 2024-08-25 09:47:53 -07:00
Paul Gauthier (aider)
547d7533c2 fix: Remove unused import of 'json' in 'aider/utils.py' 2024-08-25 09:39:58 -07:00
Paul Gauthier (aider)
cf3d7f7064 fix: Remove unused imports in tests/basic/test_models.py 2024-08-25 09:39:47 -07:00
Paul Gauthier
1edd046d08 fix: Reduce max_input_tokens in test_models 2024-08-25 09:39:41 -07:00
Paul Gauthier (aider)
6401c1653a fix: Remove unused importlib import 2024-08-25 09:39:31 -07:00
Paul Gauthier
b67914d74e fix: Improve model info caching and fallback logic 2024-08-25 09:39:26 -07:00
Paul Gauthier (aider)
7ef1b21a3f chore: Run the linter 2024-08-25 08:26:03 -07:00
Paul Gauthier (aider)
710484386a fix: Mock file system operations in test_get_model_info 2024-08-25 08:26:00 -07:00
Paul Gauthier (aider)
6b0c98c799 style: Fix linter issues in test_models.py 2024-08-25 08:24:14 -07:00
Paul Gauthier (aider)
27015c2c62 fix: Patch requests.get directly in tests 2024-08-25 08:24:11 -07:00
Paul Gauthier (aider)
69fcdd4a13 style: Run linter 2024-08-25 08:23:26 -07:00
Paul Gauthier (aider)
8d532effc8 feat: Add tests for get_model_info function 2024-08-25 08:23:23 -07:00
Paul Gauthier
b7a9925cea fix: Remove unused import 'requests' from 'aider/models.py' 2024-08-25 08:22:20 -07:00
Paul Gauthier (aider)
29bb70d407 style: Run linter 2024-08-25 08:19:19 -07:00
Paul Gauthier (aider)
5473d99e13 refactor: Extract get_model_info into a standalone function 2024-08-25 08:19:15 -07:00
Paul Gauthier
539a657624 feat: Add support for making HTTP requests in the Model class 2024-08-25 08:19:14 -07:00
Paul Gauthier (aider)
5e8f9f72cc fix: Flip logic in get_model_info 2024-08-25 07:57:20 -07:00
Paul Gauthier (aider)
fa7d92a117 fix: Move import statement to top of file 2024-08-25 07:55:22 -07:00
Paul Gauthier (aider)
2570a4d193 style: Format code with black 2024-08-25 07:55:08 -07:00
Paul Gauthier (aider)
7f1f2cb7ba feat: Add safe_read_json and safe_write_json functions to aider/utils.py 2024-08-25 07:55:02 -07:00
Paul Gauthier (aider)
fb812acfe1 feat: cache the fetched json in Path.home() / .aider / caches 2024-08-25 07:54:44 -07:00