Commit graph

5886 commits

Author SHA1 Message Date
Paul Gauthier (aider)
ac4c339904 style: Format AutoCompleter class constructor 2024-08-09 18:39:35 -04:00
Paul Gauthier (aider)
f77c6719fe feat: Add abs_read_only_fnames to io.get_input() and AutoCompleter 2024-08-09 18:39:31 -04:00
Paul Gauthier
e984d9cd66 fix: Add abs_read_only_fnames parameter to AutoCompleter and get_input 2024-08-09 18:39:29 -04:00
Paul Gauthier
cecc2d1374 copy 2024-08-09 18:35:54 -04:00
Paul Gauthier (aider)
81b64e2905 fix: Remove unused imports from aider/commands.py 2024-08-09 18:35:03 -04:00
Paul Gauthier
08862c73e7 fix: Remove unnecessary paginate parameter from cmd_diff method 2024-08-09 18:34:54 -04:00
Paul Gauthier
bba0735878 feat: Add support for GPT-4 mini model 2024-08-09 18:09:42 -04:00
Paul Gauthier (aider)
3eda9297cf feat: Include read-only repo files in get_repo_map 2024-08-09 18:05:00 -04:00
Paul Gauthier
000fd9cb55 copy 2024-08-09 17:41:44 -04:00
Paul Gauthier
7a96a1e888 Don't add total_cost after /ask & /help 2024-08-09 17:38:49 -04:00
Paul Gauthier
e591acb757 fix: Set paginate to True by default in cmd_diff method 2024-08-09 17:35:58 -04:00
Paul Gauthier (aider)
c1ef85640f fix: Remove unused confirm import from prompt_toolkit.shortcuts 2024-08-09 17:35:18 -04:00
Paul Gauthier (aider)
4e01668054 feat: replace confirm() with prompt() in confirm_ask method 2024-08-09 17:35:07 -04:00
Paul Gauthier (aider)
996649fd98 fix: Remove unnecessary f-string 2024-08-09 17:33:23 -04:00
Paul Gauthier
2a9d181efc fix: Add output messages for scraping process 2024-08-09 17:33:14 -04:00
Paul Gauthier
709c31fbf5 copy 2024-08-09 17:33:00 -04:00
Paul Gauthier
11820ba6c1 Don't paginate cmd_web/diff except as / commands 2024-08-09 17:29:52 -04:00
Paul Gauthier
c3e08a80eb fix: Add paginate option to cmd_diff method 2024-08-09 17:27:58 -04:00
Paul Gauthier
566ac8d641 fix: Remove unnecessary else block in Commands.run_pager method 2024-08-09 17:27:43 -04:00
Paul Gauthier (aider)
584813c0f3 feat: Add paginate parameter to cmd_web 2024-08-09 17:25:20 -04:00
Paul Gauthier
e255c28353 fix: Use consistent code fence syntax in file content display 2024-08-09 17:24:29 -04:00
Paul Gauthier
2f225a853e Add pypager dep 2024-08-09 17:23:28 -04:00
Paul Gauthier (aider)
10fdb26cd1 refactor: Move imports to the top 2024-08-09 17:19:24 -04:00
Paul Gauthier (aider)
8cf26407b9 style: Fix linter issues in commands.py 2024-08-09 17:17:31 -04:00
Paul Gauthier (aider)
5fd864f5e9 feat: Replace SystemPager with pypager in cmd_web 2024-08-09 17:17:27 -04:00
Paul Gauthier
c290001a9f fix: Update web command description to better reflect functionality 2024-08-09 17:12:45 -04:00
Paul Gauthier
57a1aafdfd cleanup cmd_drop test 2024-08-09 17:08:01 -04:00
Paul Gauthier (aider)
e42a7caf1b fix: Handle read-only files separately in cmd_drop 2024-08-09 17:03:17 -04:00
Paul Gauthier (aider)
39fffd81d5 style: Format code with linter 2024-08-09 16:59:01 -04:00
Paul Gauthier (aider)
b73d274e01 fix: Use os.path.samefile() to compare external file path in test_cmd_read_with_external_file 2024-08-09 16:57:45 -04:00
Paul Gauthier (aider)
5365305440 feat: Use GitTemporaryDirectory in test_cmd_read and test_cmd_read_with_external_file 2024-08-09 16:53:28 -04:00
Paul Gauthier (aider)
61c124604d feat: add test_cmd_read_with_external_file for cmd_read 2024-08-09 16:51:58 -04:00
Paul Gauthier
16700e6916 copy 2024-08-09 16:50:59 -04:00
Paul Gauthier (aider)
366da70907 fix: Resolve symlinks in external file path for test 2024-08-09 16:44:21 -04:00
Paul Gauthier (aider)
3549ed1205 style: Fix formatting and linting issues in test_main.py 2024-08-09 16:43:27 -04:00
Paul Gauthier (aider)
da5ea3a767 feat: add test for reading external file with --read option 2024-08-09 16:43:08 -04:00
Paul Gauthier (aider)
27a1d9e60f style: Fix linter issues in test_main.py 2024-08-09 16:41:22 -04:00
Paul Gauthier (aider)
6146ea0189 feat: Add test for --read option 2024-08-09 16:41:02 -04:00
Paul Gauthier (aider)
1557bb0c00 feat: add tests for /read and /drop commands 2024-08-09 16:38:42 -04:00
Paul Gauthier
d54f25d63b fix: Rename completions_read to completions_add 2024-08-09 16:30:03 -04:00
Paul Gauthier
f1cfbe9c36 cleanup 2024-08-09 16:49:51 -03:00
Paul Gauthier
2edace4e5f copy 2024-08-09 16:45:47 -03:00
Paul Gauthier
247b258c19 copy 2024-08-09 16:45:33 -03:00
Paul Gauthier (aider)
a321764b92 fix: Check if read-only files exist in __init__ 2024-08-09 16:39:56 -03:00
Paul Gauthier
2199b1c74e fix: Initialize abs_read_only_fnames after finding common root 2024-08-09 16:39:55 -03:00
Paul Gauthier (aider)
064b0d954f feat: Add --read parameter to specify read-only files 2024-08-09 16:34:06 -03:00
Paul Gauthier (aider)
ee6641f2e7 style: Fix formatting and encoding in base_coder.py 2024-08-09 16:32:20 -03:00
Paul Gauthier (aider)
25c36503ff fix: Handle non-existent files in apply_edits 2024-08-09 16:32:15 -03:00
Paul Gauthier (aider)
210d313d52 feat: initialize abs_read_only_fnames using read_only_fnames parameter 2024-08-09 16:31:38 -03:00
Paul Gauthier (aider)
83b142a1bd feat: Add read_only_fnames parameter to __init__ and update create method 2024-08-09 16:30:28 -03:00