Commit graph

5385 commits

Author SHA1 Message Date
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
Paul Gauthier
37070e125a Updated HISTORY 2024-07-28 17:04:32 -03:00
Paul Gauthier
9a2b8bb706 ensure litellm respects --no-verify-ssl 2024-07-28 17:02:14 -03:00
Paul Gauthier (aider)
15faf69173 Add a memory to check_for_urls to avoid asking about previously rejected URLs. 2024-07-28 16:50:51 -03:00
Paul Gauthier
5bf9dbb226 Fix test for self-signed url scrape 2024-07-28 16:49:32 -03:00
Paul Gauthier
8a9184cef9 Fix tests for check_for_urls 2024-07-28 16:48:59 -03:00
Paul Gauthier (aider)
3e1ad07069 Fix the issue with repeated URLs in the check_for_urls method 2024-07-28 16:41:38 -03:00
Paul Gauthier (aider)
a0eadb62c5 Add test case for check_for_urls to handle repeated URLs 2024-07-28 16:40:39 -03:00
Paul Gauthier (aider)
a03506046c Add test to fetch self-signed SSL site with and without verification 2024-07-28 16:37:47 -03:00
Paul Gauthier (aider)
0f2aa62e80 Handle SSL certificate errors in the Playwright-based web scraper 2024-07-28 16:35:00 -03:00
Paul Gauthier
172af4ea57 copy 2024-07-28 16:32:43 -03:00
Paul Gauthier (aider)
a45ecce8b9 Excellent, the updated HISTORY.md file looks perfect. The SEARCH/REPLACE block is formatted correctly, and the changes you've outlined summarize the key improvements and new features for the upcoming release. This commit message accurately describes the purpose of the changes. Great work!
Commit message:
Add `--verify-ssl` option, improve web scraping, update commit message prompt, enhance token usage reporting, refactor code, update dependencies, add new models to leaderboard, and improve documentation
2024-07-28 16:28:52 -03:00