Commit graph

1119 commits

Author SHA1 Message Date
Paul Gauthier (aider)
528a3372d8 feat: add tests for find_filename 2024-08-26 13:43:10 -07:00
Paul Gauthier
4b2227c71f don't disrupt \_ in filenames #1158 2024-08-26 12:08:46 -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 (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 (aider)
4200c575f8 feat: add tests for get_model_info 2024-08-25 09:47:53 -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
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
e5b0fe3dfd fix: Improve confirm_ask function in io.py 2024-08-24 09:05:14 -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)
427a83b075 fix: Use call_args_list to verify all calls to mocked function 2024-08-23 15:17:16 -07:00
Paul Gauthier
100cca5dbf feat: Add model dumps to test_repo.py 2024-08-23 15:17:15 -07:00
Paul Gauthier (aider)
cc2706d8dd style: Fix import order in test_repomap.py 2024-08-23 11:43:14 -07:00
Paul Gauthier (aider)
6630fd2e4f fix: Add missing imports for re and difflib modules 2024-08-23 11:43:11 -07:00
Paul Gauthier (aider)
d373c82730 fix: Remove unused imports in tests/basic/test_repomap.py 2024-08-23 11:42:14 -07:00
Paul Gauthier (aider)
a223ddce8b fix: Remove unused imports and adjust code to use existing modules 2024-08-23 11:41:43 -07:00
Paul Gauthier (aider)
7015c03a01 style: Run linter on tests/basic/test_repomap.py 2024-08-23 11:40:43 -07:00
Paul Gauthier (aider)
e456317a68 chore: move import re and difflib to top of file 2024-08-23 11:40:40 -07:00
Paul Gauthier (aider)
26765cd89a style: Normalize path separators for Windows 2024-08-23 11:40:00 -07:00
Paul Gauthier (aider)
97a75ea471 fix: Normalize file path separators for Windows in test_repo_map_sample_code_base 2024-08-23 11:39:57 -07:00
Paul Gauthier (aider)
2d5b481205 fix: Read expected_map_file with utf8 encoding 2024-08-23 11:38:36 -07:00
Paul Gauthier
f5e27cee8a finish repo map fixture test 2024-08-23 10:16:16 -07:00
Paul Gauthier (aider)
c38d482db3 style: Format code with black 2024-08-23 10:14:04 -07:00
Paul Gauthier (aider)
626a89364d feat: Pass repomap_root as parent of parent of parent directory 2024-08-23 10:14:01 -07:00
Paul Gauthier
eb7870c2c1 fix: Convert generated repo map to string before comparison 2024-08-23 10:14:00 -07:00
Paul Gauthier (aider)
0ee35556ef style: Format code using linter 2024-08-23 10:04:32 -07:00
Paul Gauthier (aider)
9228a57b66 fix: Compare generated repo map with expected map 2024-08-23 10:04:28 -07:00
Paul Gauthier
12e406e711 fix: Remove unnecessary code for writing generated repo map to file 2024-08-23 10:04:27 -07:00
Paul Gauthier (aider)
f5d4cbfb2e fix: Add import for Path class in test_repomap.py 2024-08-23 10:02:54 -07:00
Paul Gauthier (aider)
0a01a5ca2f style: Run linter 2024-08-23 10:01:34 -07:00
Paul Gauthier (aider)
a59ebd1913 feat: add test for repo map generation using sample code base 2024-08-23 10:01:30 -07:00
Paul Gauthier (aider)
088e47c793 feat: add sample JavaScript script with 7 functions 2024-08-23 09:55:07 -07:00
Paul Gauthier
f87036cbac feat: Add sample code base for testing 2024-08-23 09:55:06 -07:00
Paul Gauthier (aider)
950fc7f41a style: format code with linter 2024-08-23 09:54:16 -07:00
Paul Gauthier (aider)
d7f51af9ba feat: Add sample Python file with Car and Garage classes 2024-08-23 09:54:12 -07:00
Paul Gauthier
b603064abe feat: Add sample code base for testing 2024-08-23 09:54:11 -07:00
Paul Gauthier (aider)
68a78e4882 fix: Use platform-independent path for read-only file test 2024-08-23 07:00:45 -07:00
Paul Gauthier (aider)
00e4fdbb48 fix: address flake8 errors in test_cmd_read_only_with_tilde_path 2024-08-23 06:40:17 -07:00
Paul Gauthier (aider)
955709d6c3 feat: add test case for cmd_read_only with tilde path 2024-08-23 06:39:50 -07:00
Paul Gauthier (aider)
1dc325cc72 feat: add test for /read-only command with multiple files 2024-08-22 16:46:19 -07:00
Paul Gauthier
d7279a1129 fix: Remove unused get_last_modified method from Coder class 2024-08-22 14:01:20 -07:00