Commit graph

2786 commits

Author SHA1 Message Date
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
Paul Gauthier
3c5d08920f Use the main model as a fallback for commit messages 2024-07-28 17:14:30 -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
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)
0f2aa62e80 Handle SSL certificate errors in the Playwright-based web scraper 2024-07-28 16:35:00 -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
Paul Gauthier
5c066250c6 copy 2024-07-28 07:34:23 -03:00
Paul Gauthier
0177b2ee48 copy 2024-07-27 07:28:31 -03:00
Paul Gauthier
7cd3b1c222 Added docs for: python -m aider #126 2024-07-26 15:05:00 +02:00
Paul Gauthier
ab1d3502fc copy 2024-07-26 15:00:17 +02:00
Paul Gauthier
633ce98414 copy 2024-07-25 20:56:25 +02:00
Paul Gauthier (aider)
5dc3bbb6fb Catch and report errors when scraping web pages with Playwright, without crashing the application. 2024-07-25 20:24:32 +02:00
Paul Gauthier
d0ebc7a810 copy 2024-07-25 11:20:08 +02:00