Commit graph

6586 commits

Author SHA1 Message Date
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
Paul Gauthier (aider)
5e50adb96f fix: Split long URL into multiple lines to adhere to line length limit 2024-08-25 07:53:03 -07:00
Paul Gauthier (aider)
225cb93b05 style: Fix formatting in aider/models.py 2024-08-25 07:52:51 -07:00
Paul Gauthier (aider)
bd30ae936c feat: Fetch model info from GitHub first, then fall back to local resource 2024-08-25 07:52:48 -07:00
Paul Gauthier (aider)
63c6bffb46 fix: Remove unused Path import from aider/models.py 2024-08-25 07:51:31 -07:00
Paul Gauthier (aider)
6d7a6ccee3 fix: use importlib.resources.open_text() to read JSON file in get_model_info 2024-08-25 07:50:58 -07:00
Paul Gauthier (aider)
f4adc09277 feat: Add verbose mode to display model info 2024-08-25 07:19:03 -07:00
Paul Gauthier (aider)
6fb3416757 fix: Remove unused import of Validator 2024-08-24 09:05:19 -07:00
Paul Gauthier
e5b0fe3dfd fix: Improve confirm_ask function in io.py 2024-08-24 09:05:14 -07:00
Paul Gauthier
0b33892137 fix: Improve input validation and handling in InputOutput.user_confirm 2024-08-24 09:00:16 -07:00
Paul Gauthier (aider)
231e962c7f feat: Expand valid_responses to their whole words 2024-08-24 08:57:28 -07:00
Paul Gauthier
668ab7e204 fix: Add ConfirmGroup to confirm file and shell command additions 2024-08-23 16:54:03 -07:00
Paul Gauthier
b26550d93f fix: Add ConfirmGroup to confirm URL addition 2024-08-23 16:50:38 -07:00
Paul Gauthier
47294e7609 fix: Add show_group attribute to ConfirmGroup and initialize it based on the number of items 2024-08-23 16:44:58 -07:00
Paul Gauthier
f85db450a1 fix: Improve input validation and handling for yes/no/all/skip options 2024-08-23 16:42:29 -07:00
Paul Gauthier (aider)
9bc1788003 feat: add test case for explicit_yes_required true and 'a' input 2024-08-23 16:41:52 -07:00
Paul Gauthier (aider)
0b9994ad69 style: Fix import order in test_io.py 2024-08-23 16:29:40 -07:00