Commit graph

685 commits

Author SHA1 Message Date
Paul Gauthier (aider)
a9002a3d30 test: add test for suggest_shell_commands functionality 2024-08-27 14:01:14 -07:00
Paul Gauthier (aider)
7815087444 style: format code with black 2024-08-27 13:57:04 -07:00
Paul Gauthier (aider)
d01e9ef7a4 test: update shell command handling checks in test_apply_shell_commands_with_no_suggest 2024-08-27 13:56:59 -07:00
Paul Gauthier
6a55708357 test: update assertions for shell command suggestion behavior 2024-08-27 13:56:58 -07:00
Paul Gauthier (aider)
59cc799b0d style: format code with linter in test_main.py 2024-08-27 13:53:27 -07:00
Paul Gauthier (aider)
3bc1b7c2b7 test: print confirm_ask args in test_apply_shell_commands_with_no_suggest 2024-08-27 13:53:22 -07:00
Paul Gauthier
ac3df464e1 test: verify shell command suggestion behavior with --no-suggest-shell-commands flag 2024-08-27 13:53:21 -07:00
Paul Gauthier
1569995d26 refactor: simplify shell command tests and add TODOs for confirm_ask checks 2024-08-27 13:41:20 -07:00
Paul Gauthier (aider)
8735efc2b1 test: add tests for --no-suggest-shell-commands behavior 2024-08-27 13:33:56 -07:00
Paul Gauthier (aider)
a41ad9e778 test: add tests for --suggest-shell-commands option 2024-08-27 13:32:34 -07:00
Paul Gauthier
a5c283d7c8 feat: Add prompt cache warming via --cache-warming-pings 2024-08-26 16:33:25 -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
66e9c3834a fix: Improve filename detection in find_filename function 2024-08-26 13:52:35 -07:00
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