Commit graph

5421 commits

Author SHA1 Message Date
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
Paul Gauthier
8de04901f5 Add release history for main branch 2024-07-28 16:28:49 -03:00
Paul Gauthier (aider)
e63a2947c6 Add commas to token numbers in usage_report 2024-07-28 16:05:59 -03:00
Paul Gauthier
fbc387e16e Add session cost to usage report 2024-07-28 16:05:57 -03:00
Paul Gauthier (aider)
16cbb0e112 Add total cost to usage report 2024-07-28 16:00:00 -03:00
Paul Gauthier
fe50400bf3 Add usage reporting to the Coder class 2024-07-28 15:59:59 -03:00
Paul Gauthier (aider)
afe50cab3d Update the calculate_and_show_tokens_and_cost method to use the messages parameter if completion.usage is not available. 2024-07-28 15:54:04 -03:00
Paul Gauthier
da257c33a0 Add token count calculation for messages in base_coder.py 2024-07-28 15:54:02 -03:00
Paul Gauthier
57964f1e79 Add token and cost calculation to message completion 2024-07-28 15:53:34 -03:00
Paul Gauthier (aider)
f81acb839c Use the tokenizer to count tokens in partial_response_content after streaming responses complete, and show tokens & cost in that case too. 2024-07-28 15:50:25 -03:00
paul-gauthier
0eb72b17b9
Merge pull request #951 from titusz/patch-1
Remove superfluous “be” in commit prompt
2024-07-28 08:24:30 -03:00
Paul Gauthier
90b3542e75 copy 2024-07-28 08:14:07 -03:00
Paul Gauthier
ddac92f37f copy 2024-07-28 08:13:07 -03:00
Titusz
7566e5b377
Remove superfluous “be” in commit prompt 2024-07-28 13:08:57 +02:00
Paul Gauthier
b8264813a4 Use the imperative tense for commit messages #933 2024-07-28 07:46:39 -03:00