Commit graph

316 commits

Author SHA1 Message Date
Paul Gauthier (aider)
07780326b4 Use more efficient method to get all dirty files in cmd_lint 2024-07-30 15:09:04 -03:00
Paul Gauthier
5f9275a3c2 Add dirty tracked files to the list of files to lint 2024-07-30 15:09:03 -03:00
Paul Gauthier (aider)
c0a2b8b57c Ensure instructions variable is always defined in cmd_run method 2024-07-29 17:11:31 -03:00
Paul Gauthier
05ee45c31f Prompt user to fix lint errors before committing changes 2024-07-29 16:42:20 -03:00
Paul Gauthier (aider)
f62e5bd883 Get all dirty files in the repo if no files are specified 2024-07-29 16:35:40 -03:00
Paul Gauthier
958b608467 Add fallback to get all dirty files in the repo if no files are provided for linting. 2024-07-29 16:35:38 -03:00
Paul Gauthier
1a3466e413 do not summarize when switching to code or ask mode 2024-07-29 13:43:27 -03:00
Paul Gauthier
c17ef53deb Added the "code" chat mode 2024-07-29 07:36:01 -03:00
Your Name
4f30db4f51 Improve error message for invalid chat mode and list valid modes. 2024-07-28 20:25:41 -03:00
Your Name (aider)
98984564d6 Align class docstrings in a column when printing valid formats 2024-07-28 20:24:05 -03:00
Your Name (aider)
8c3fe1650b Display the valid edit formats and their descriptions in the command line interface 2024-07-28 20:23:06 -03:00
Your Name
3121fa1227 Update chat mode 2024-07-28 20:18:16 -03:00
Your Name
09a52f81f1 Improve error message for invalid edit format in aider/commands.py. 2024-07-28 19:26:36 -03:00
Your Name (aider)
44ca351e4c Display valid edit formats as a bulleted list 2024-07-28 19:25:36 -03:00
Your Name
2043da78d7 Add support for new editing modes in the aider tool. 2024-07-28 19:25:35 -03:00
Your Name (aider)
50f3ab69dc Replace coder.__name__ with coder.edit_format in the list comprehension to ensure that the actual edit format names are collected rather than the class names of the coders. 2024-07-28 19:23:39 -03:00
Your Name (aider)
7f028eeb1e Replace valid_formats with dynamically generated list of coder.__all__ entries with edit_format attribute 2024-07-28 19:23:23 -03:00
Your Name
c9003c598f Modify the cmd_edit_format method to provide a more informative error message when an invalid edit format is provided. 2024-07-28 19:23:21 -03:00
Your Name
f9ba8e82aa Updated HISTORY 2024-07-28 19:16:20 -03:00
Your Name
5b50eadae3 Add prompt to add command output to chat with instructions 2024-07-28 19:11:06 -03:00
Your Name (aider)
49f332db3f Add support for 'y' and 'n' responses in the 'cmd_run' method 2024-07-28 19:05:19 -03:00
Your Name (aider)
926f9cc39a Update the run command to ask the user to add the output with possible responses: yes, no or provide additional instructions to accompany the output. 2024-07-28 19:04:44 -03:00
Your Name
69af6f8ab5 Add AskCoder functionality to handle user questions about the codebase 2024-07-28 19:02:27 -03:00
Your Name
f44347e72d Modify the Coder class to use "chat" edit format and disable summarization from the main coder 2024-07-28 18:56:21 -03:00
Your Name (aider)
bc73832d0d Add a "/chat <question>" command that passes the question to a ChatCoder and integrates the resulting messages into the main chat history. 2024-07-28 18:52:46 -03:00
Your Name (aider)
c23da1d320 Update the SwitchCoder class to accept any kwargs and pass them to the new coder, moving the model and edit_format into those kwargs. 2024-07-28 17:56:59 -03:00
Your Name
f440479c48 SwitchModel -> SwitchCoder 2024-07-28 17:49:02 -03:00
Your Name (aider)
4537e6c16a Validate edit format and show error if invalid 2024-07-28 17:47:50 -03:00
Your Name
8496390248 Extend SwitchModel exception to include edit format and update cmd_mode to raise SwitchModel with edit format 2024-07-28 17:47:48 -03:00
Paul Gauthier
cb819e8db1 Make playwright obey the --no-verify-ssl switch 2024-07-22 15:22:20 +02:00
Paul Gauthier (aider)
6fdb4f8214 Handled case where first commit cannot be undone 2024-07-18 16:32:47 +01:00
Paul Gauthier
3ce3799f8d Implemented checks to ensure files with uncommitted changes or not present in previous commit cannot be undone safely. 2024-07-18 16:32:45 +01:00
Paul Gauthier
4fbe3d295a added [playwright] extra 2024-07-14 19:34:48 +01:00
Paul Gauthier
9ed0e33b9f refactor help install and add to test setup 2024-07-14 17:49:33 +01:00
Paul Gauthier
76dad84285 added [browser] extra; refac the pip install utils 2024-07-14 17:22:17 +01:00
Paul Gauthier (aider)
b4e827ef63 Added support for handling absolute paths in the glob_filtered_to_repo method. 2024-07-12 17:13:22 +01:00
Paul Gauthier
504a72b5cb handle failed install of hf-embed 2024-07-10 17:35:13 +01:00
Paul Gauthier
f688c18b65 offer to install aider[hf] 2024-07-10 16:20:06 +01:00
Paul Gauthier
e4c637724f For /help, turn down the repo map 2024-07-06 17:11:24 -03:00
Paul Gauthier
9ab36b565d better in chat commands table 2024-07-05 13:38:06 -03:00
Paul Gauthier
500cc151a1 Merge branch 'main' into help 2024-07-05 13:29:01 -03:00
Paul Gauthier
5122121265 allow multiple undo 2024-07-05 13:19:37 -03:00
Paul Gauthier (aider)
9e90dbc20d Printed the commit message of the undone commit and the hash and commit message of the current HEAD after the undo operation. 2024-07-05 13:06:49 -03:00
Paul Gauthier
d0267f0ece Improved the handling of last commit detection and diff generation in the aider commands. 2024-07-05 13:06:47 -03:00
Paul Gauthier
af48cc3e4c wip 2024-07-04 16:06:12 -03:00
Paul Gauthier
ca6fcc42c8 restored basic help 2024-07-04 14:47:49 -03:00
Paul Gauthier
9f39c8db44 added HelpCoder 2024-07-04 14:29:19 -03:00
Paul Gauthier
9d02628cf8 streamlit borks sys.path, causes import("litellm") to load our litellm.py; fix 2024-07-03 21:32:50 -03:00
Paul Gauthier
3c1a6acc0d handle files with spaces 2024-07-03 20:12:04 -03:00
Paul Gauthier
4b0192ffd9 cache the completions in AutoCompleter 2024-07-03 20:08:51 -03:00