Commit graph

5246 commits

Author SHA1 Message Date
Paul Gauthier
fd935d8534 show a hint about /undo after each commit 2024-07-29 08:07:39 -03:00
paul-gauthier
83c9213ac7
Merge pull request #956 from johanvts/patch-1
Use "python" in windows install instructions
2024-07-29 08:02:42 -03:00
Johan von Tangen Sivertsen
fce2184d68
use Python on windows
"Py" confused me, it ofent refers to "PyInstaller"
2024-07-29 12:55:03 +02:00
Paul Gauthier
b2786dbf9c copy 2024-07-29 07:44:15 -03:00
Paul Gauthier
c17ef53deb Added the "code" chat mode 2024-07-29 07:36:01 -03:00
Paul Gauthier
87eb7359d1 copy 2024-07-28 21:06:20 -03:00
Paul Gauthier (aider)
28772ddc03 Add support for multiple file arguments using --file 2024-07-28 20:58:46 -03:00
Paul Gauthier
7cf4db58d9 copy 2024-07-28 20:43:07 -03:00
Paul Gauthier
a63428f24d copy 2024-07-28 20:38:05 -03:00
Paul Gauthier
7a1ac4a2d6 Add new AskPrompts class to handle code analysis prompts 2024-07-28 20:37:51 -03:00
Paul Gauthier
3a1fc35f9d Add new /ask and /chat-mode commands, enhance token usage reporting, and improve commit message formatting 2024-07-28 20:37:43 -03:00
Paul Gauthier
4bcee55794 Add new chat-mode commands and enhance token usage reporting 2024-07-28 20:32:02 -03:00
Your Name
bfc0123a2f emit the blank line before usage report 2024-07-28 20:28:00 -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
7a96c47a8b Add docstrings to AskCoder and HelpCoder classes 2024-07-28 20:22:50 -03:00
Your Name
36bba7a3ae Add aider/coders/aider/commands.py 2024-07-28 20:21:37 -03:00
Your Name (aider)
45af678026 Update class docstrings to refer to "search/replace blocks" instead of "edit blocks" 2024-07-28 20:20:13 -03:00
Your Name (aider)
0ff1c36668 Add concise docstrings to each xxxCoder class describing their purpose. 2024-07-28 20:19:22 -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
39170f5639 cleanup 2024-07-28 19:19:06 -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
3d603f3579 Add system reminder to messages if available 2024-07-28 18:51:27 -03:00
Your Name (aider)
4d4bfba965 Refactor create method to use dynamic coder selection based on edit_format 2024-07-28 18:45:21 -03:00
Your Name
563729ad94 Add check for files_no_full_files_with_repo_map in base_coder.py 2024-07-28 18:45:20 -03:00
Your Name (aider)
8a3a836ce9 Add ChatCoder to __init__.py 2024-07-28 18:44:16 -03:00
Your Name (aider)
5fcf454968 Remove __init__ from all coders and set edit_format and gpt_prompts like ChatCoder 2024-07-28 18:43:14 -03:00
Your Name
916021bf10 Add chat_coder.py to enable chat-based coding assistance. 2024-07-28 18:43:11 -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
Your Name
11b44cde10 Updated HISTORY 2024-07-28 17:43:09 -03:00
Your Name
e799e89ff4 install aider with -e in benchmark docker 2024-07-28 17:23:25 -03:00
Paul Gauthier
3c5d08920f Use the main model as a fallback for commit messages 2024-07-28 17:14:30 -03:00
Paul Gauthier (aider)
f04fb8d53a Add a test for get_commit_message that initializes a GitRepo with two models and ensures the commit message is correctly retrieved from the second model. 2024-07-28 17:13:35 -03:00
Paul Gauthier
350d0c781a Merge remote-tracking branch 'refs/remotes/origin/main' 2024-07-28 17:11:02 -03:00