Commit graph

5853 commits

Author SHA1 Message Date
Paul Gauthier (aider)
2526426da7 fix: use get_head() in show_undo_hint 2024-08-09 19:41:46 -04:00
Paul Gauthier (aider)
ca9ef60ede feat: Add GitRepo.get_head() method 2024-08-09 19:41:19 -04:00
Paul Gauthier (aider)
1a3f4041f7 fix: Show undo hint only if current HEAD is not the same as commit_before_message 2024-08-09 19:40:19 -04:00
Paul Gauthier
82679ee66b fix: Add show_undo_hint method to display undo hint after committing changes 2024-08-09 19:40:16 -04:00
Paul Gauthier (aider)
55d55c32b2 fix: Catch ValueError when getting current commit in cmd_diff 2024-08-09 19:38:12 -04:00
Paul Gauthier (aider)
543227f6bd feat: Change cmd_diff to show diff since last message 2024-08-09 19:36:38 -04:00
Paul Gauthier (aider)
d9e7d64235 fix: handle case of brand new repository with no commits 2024-08-09 19:35:15 -04:00
Paul Gauthier (aider)
423b6e1ad1 feat: add commit_before_message variable to Coder class and set it in init_before_message 2024-08-09 19:33:59 -04:00
Paul Gauthier
f5b5a3511b copy 2024-08-09 19:31:49 -04:00
Paul Gauthier
9cf672b428 fix: Add bold formatting to announcement messages
feat: Add bold formatting to commit message output
refactor: Simplify tool_output method in io.py
2024-08-09 19:26:22 -04:00
Paul Gauthier (aider)
06934a9c2d style: Apply linter formatting to test_commands.py 2024-08-09 18:54:37 -04:00
Paul Gauthier (aider)
427164b0bf fix: Use samefile check in test_cmd_read 2024-08-09 18:54:32 -04:00
Paul Gauthier (aider)
416fd164d8 fix: Handle None value for abs_read_only_fnames in AutoCompleter 2024-08-09 18:47:21 -04:00
Paul Gauthier (aider)
31606d5d70 style: Apply linter formatting to io.py 2024-08-09 18:46:53 -04:00
Paul Gauthier (aider)
26698488d3 feat: make abs_read_only_fnames optional in get_input 2024-08-09 18:46:49 -04:00
Paul Gauthier (aider)
f542c65b58 feat: make abs_read_only_fnames an optional param in AutoCompleter class 2024-08-09 18:45:57 -04:00
Paul Gauthier
46dc6a0b90 fix: Add abs_read_only_fnames to get_coder_state 2024-08-09 18:42:23 -04:00
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