Commit graph

635 commits

Author SHA1 Message Date
Paul Gauthier (aider)
e1ce4f1b9f style: format code with linter 2024-08-09 08:04:18 -03:00
Paul Gauthier (aider)
f03718a48f feat: Replace existing image in chat when uploading clipboard image 2024-08-09 08:04:14 -03:00
Paul Gauthier (aider)
604a1fcae4 fix: Use a temporary directory with a simple filename for clipboard images 2024-08-09 08:00:36 -03:00
Paul Gauthier
e5cec464da copy 2024-08-09 07:59:05 -03:00
Paul Gauthier (aider)
0950106536 style: Format code with linter 2024-08-09 07:55:42 -03:00
Paul Gauthier (aider)
54ea449394 feat: Use provided argument as basename for clipboard image tempfile 2024-08-09 07:55:38 -03:00
Paul Gauthier (aider)
1e3868e3d0 style: format imports in commands.py 2024-08-09 07:54:15 -03:00
Paul Gauthier (aider)
96a4ba783b feat: Add support for text and image clipboard content 2024-08-09 07:54:11 -03:00
Paul Gauthier (aider)
b057b3043c feat: Rename cmd_add_clipboard_image to cmd_clipboard 2024-08-09 07:53:11 -03:00
Paul Gauthier
03a357eb95 better /run confirmation prompt 2024-08-08 15:39:07 -03:00
Paul Gauthier
e48fecee14 fix: Handle missing model info values gracefully 2024-08-07 07:45:39 -03:00
Paul Gauthier
c45688c8b8 Carry total costs back to main coder from /help and /ask 2024-08-03 10:18:35 -03:00
Paul Gauthier
7a7febfb2b better approach to cloning Commands in from_coders 2024-08-03 10:13:21 -03:00
Paul Gauthier
ba8d32da42 Use a clone of Commands for sub-Coders, so main Command.coder does not get stomped 2024-08-03 10:01:57 -03:00
Paul Gauthier
96dca6cd5f fix: Use get_dirty_files method to retrieve dirty files in the repository 2024-08-01 16:59:06 -03:00
Paul Gauthier (aider)
73bf90f007 feat: Add /add-clipboard-image command 2024-08-01 14:31:48 -03:00
Paul Gauthier
1677f7ede8 Do general autocomplete if /cmd doesn't have its own 2024-07-30 16:43:29 -03:00
Paul Gauthier
a84cad4a59 Add encoding and error handling to subprocess call in Commands class 2024-07-30 15:19:38 -03:00
Paul Gauthier
9c406cd176 Add linting for all dirty files in the repository 2024-07-30 15:09:41 -03:00
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