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 |
|
Paul Gauthier (aider)
|
71e3af96d3
|
feat: Add tests for confirm_ask with a group
|
2024-08-23 16:29:37 -07:00 |
|
Paul Gauthier (aider)
|
3e0c7fd248
|
build: build the list of valid responses in parallel to building question, but don't change the logic for question
|
2024-08-23 16:25:05 -07:00 |
|
Paul Gauthier
|
2dc2b45d15
|
fix: Update input prompt for yes/no questions
|
2024-08-23 16:24:16 -07:00 |
|
Paul Gauthier (aider)
|
3055f14d70
|
fix: only show All and Skip options if group is not none
|
2024-08-23 16:20:58 -07:00 |
|
Paul Gauthier (aider)
|
9ed83dd467
|
style: Improve readability of conditional expressions
|
2024-08-23 16:20:08 -07:00 |
|
Paul Gauthier (aider)
|
2643cc8643
|
fix: Exclude "All" option and don't honor group preference when explicit_yes_required is True
|
2024-08-23 16:20:04 -07:00 |
|
Paul Gauthier (aider)
|
6aae2bc794
|
fix: Move imports to the top of the file
feat: Implement ConfirmGroup preference handling in confirm_ask
|
2024-08-23 16:19:05 -07:00 |
|