Commit graph

270 commits

Author SHA1 Message Date
Paul Gauthier
0dfedecff5 fixes #1231 2024-08-30 06:47:45 -07:00
Paul Gauthier (aider)
33dde5e4a4 style: remove unused variable in exception handling 2024-08-29 07:42:48 -07:00
Paul Gauthier
50555643d1 refactor: remove unused error logging in AutoCompleter 2024-08-29 07:42:40 -07:00
Paul Gauthier
ad3f29bdce fix: improve error handling for lexer exceptions in AutoCompleter and RepoMap 2024-08-28 22:49:22 -07:00
Paul Gauthier
ce397b71e8 do not try pexpect on windows; fix time.clock error on windows 2024-08-28 22:26:48 -07:00
Paul Gauthier
ac6c76d530 fix /model completions 2024-08-28 15:57:06 -07:00
Paul Gauthier
a3554ffbbc fix /read completions 2024-08-27 16:40:07 -07:00
Paul Gauthier
530dae2a98 feat: implement ThreadedCompleter for improved autocomplete performance 2024-08-27 16:33:26 -07:00
Paul Gauthier
31f7856f41 feat: enhance autocomplete functionality for code tokens and filenames 2024-08-27 15:24:45 -07:00
Paul Gauthier
9c35556c2a feat: add user input logging and history for /run command responses 2024-08-27 14:18:56 -07:00
Paul Gauthier
92667c7963 feat: log user input from prompt function in chat history 2024-08-27 14:15:23 -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
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)
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
Paul Gauthier (aider)
c0871449ac style: Format code with consistent indentation 2024-08-23 16:18:55 -07:00
Paul Gauthier (aider)
1be65f9c77 feat: Add group parameter to confirm_ask function 2024-08-23 16:18:52 -07:00
Paul Gauthier (aider)
16c1d21bc0 style: Run linter 2024-08-23 16:17:21 -07:00
Paul Gauthier (aider)
577c38ec29 feat: Add ConfirmGroup dataclass 2024-08-23 16:17:17 -07:00
Paul Gauthier (aider)
6185f8f271 style: Fix formatting in io.py 2024-08-23 16:15:02 -07:00
Paul Gauthier (aider)
7805aafe0a fix: Update confirm_ask function in aider/io.py 2024-08-23 16:14:59 -07:00
Paul Gauthier (aider)
97b47602e1 feat: Add explicit_yes_required param to confirm_ask 2024-08-21 21:30:36 -07:00
Paul Gauthier
99f330f30b fix: Improve formatting of file list and edit format in input prompt 2024-08-21 16:08:52 -07:00
Paul Gauthier (aider)
b79776f78f style: Format code according to linter rules 2024-08-21 16:05:52 -07:00
Paul Gauthier (aider)
a9a1f5e247 fix: Add edit_format to get_input method 2024-08-21 16:05:48 -07:00
Paul Gauthier (aider)
25f9886a40 feat: Always display file(s) on line before prompt 2024-08-21 16:05:24 -07:00
Paul Gauthier (aider)
9fc8b00a13 style: Improve string formatting in io.py 2024-08-21 15:21:35 -07:00
Paul Gauthier (aider)
b9f2a415ce feat: Pad multiline subjects in confirm_ask 2024-08-21 15:21:31 -07:00
Paul Gauthier
9eac88f734 fix: Remove unused WordCompleter import from aider/io.py 2024-08-21 10:49:50 -07:00
Paul Gauthier
b4cbd9e4bd Merge branch 'main' into shell-commands-new 2024-08-21 09:40:07 -07:00
Paul Gauthier (aider)
dc16bf6cda style: Format code using linter rules 2024-08-21 09:33:20 -07:00
Paul Gauthier (aider)
387441b48a style: remove backticks from filename autocomplete 2024-08-21 09:33:16 -07:00
Paul Gauthier
c351d76c2b remind about suggesting shell commands 2024-08-21 09:08:08 -07:00
Paul Gauthier
454d0206bc fix: Update prompt_ask function to use default value correctly 2024-08-21 08:17:35 -07:00
Paul Gauthier (aider)
5bdb5489dd feat: Add style to prompt_ask 2024-08-21 08:13:00 -07:00
Paul Gauthier (aider)
b23b8958f8 feat: move prompt_toolkit imports to the top 2024-08-21 08:09:08 -07:00
Paul Gauthier
3e5554c24f fix: Update confirm_ask prompts to use consistent formatting 2024-08-21 08:08:31 -07:00
Paul Gauthier
ba746dd211 fix: Improve confirm dialog messages 2024-08-21 05:38:13 -07:00
Paul Gauthier (aider)
72ebc7868a feat: add subject to confirm_ask 2024-08-21 05:24:56 -07:00
Paul Gauthier
7e6794d2c7 fix: Remove subject from chat history entry 2024-08-21 05:24:54 -07:00
Paul Gauthier (aider)
95d1ea37be feat: add subject parameter to prompt_ask 2024-08-21 05:20:44 -07:00