Commit graph

556 commits

Author SHA1 Message Date
Your Name (aider)
0ff1c36668 Add concise docstrings to each xxxCoder class describing their purpose. 2024-07-28 20:19:22 -03:00
Your Name
39170f5639 cleanup 2024-07-28 19:19:06 -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
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
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)
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 (aider)
9a7c67966a Improved error handling in Aider to safely encode and decode text containing emojis or other problematic characters. 2024-07-23 11:39:31 +02:00
Paul Gauthier
cb819e8db1 Make playwright obey the --no-verify-ssl switch 2024-07-22 15:22:20 +02:00
Paul Gauthier
c99c5db35c updated coder test 2024-07-18 16:35:27 +01:00
Paul Gauthier (aider)
55301e4b1d Normalized file paths in the get_file_mentions method to handle both Unix and Windows formats. 2024-07-18 15:21:23 +01:00
Paul Gauthier (aider)
07550d6f5f Added tests to exercise all combinations of path formats for get_file_mentions and get_addable_relative_files, and updated the get_file_mentions method to handle both Unix and Windows path formats. 2024-07-18 15:19:32 +01:00
Paul Gauthier (aider)
a39ad76be0 Improved URL detection in check_for_urls function to exclude trailing commas and periods. 2024-07-12 17:21:14 +01:00
Paul Gauthier (aider)
02c3c4b8a0 Fixed the check_for_urls method per the GitHub issue #845. 2024-07-12 17:20:29 +01:00
Paul Gauthier
b678e26281 Don't ask LLM are you sure about S/R blocks with null R section #835 2024-07-12 17:18:59 +01:00
Paul Gauthier
570519e91d Fixed premature reference to self.root #801 2024-07-07 07:47:06 -03:00
Paul Gauthier
e4c637724f For /help, turn down the repo map 2024-07-06 17:11:24 -03:00
Paul Gauthier
b7f8687679 more platform info 2024-07-06 15:37:59 -03:00
Paul Gauthier
143e05ec66 include the users platform 2024-07-05 17:03:26 -03:00
Paul Gauthier
500cc151a1 Merge branch 'main' into help 2024-07-05 13:29:01 -03:00
Paul Gauthier
5122121265 allow multiple undo 2024-07-05 13:19:37 -03:00
Paul Gauthier
af48cc3e4c wip 2024-07-04 16:06:12 -03:00
Paul Gauthier
9f39c8db44 added HelpCoder 2024-07-04 14:29:19 -03:00
Paul Gauthier
9d02628cf8 streamlit borks sys.path, causes import("litellm") to load our litellm.py; fix 2024-07-03 21:32:50 -03:00
Paul Gauthier (aider)
790c2f0330 Implemented a more robust method to determine the image file type using the mimetypes module in the get_images_message function. 2024-07-03 16:16:23 -03:00
Paul Gauthier
0ef842dd53 Implemented a temporary solution to convert file names to media types for image files. 2024-07-03 16:15:04 -03:00
Paul Gauthier
ed35af44b3 defer numpy, bs4 and jsonschema 2024-07-03 13:35:33 -03:00
Paul Gauthier
7a3b0d6ddb handle oserrors when enumerating repo files #780 2024-07-02 19:59:03 -03:00
Paul Gauthier
16856bb4ca Give the commit message model the chat context #748 2024-06-30 13:02:23 -07:00
Paul Gauthier
85ef60f083 Try and avoid seaming errors when asking Sonnet to continue 2024-06-29 17:01:31 -07:00
Paul Gauthier
1a455e799e cleanup mdstream 2024-06-29 08:36:36 -07:00
Paul Gauthier
a84dca870e fix test for windows 2024-06-28 18:09:01 -07:00
Paul Gauthier
6f1e26157e fix test for windows 2024-06-28 17:09:08 -07:00
Paul Gauthier
307cfb2f44 fix so tests pass 2024-06-28 15:30:16 -07:00
Paul Gauthier
e7aa10a89b refac 2024-06-28 15:27:17 -07:00
Paul Gauthier
d6467a8e30 keep markdown stream open across multi response content 2024-06-28 15:10:20 -07:00
Paul Gauthier
e3805350c9 Added can_prefill metadata to the anthropic models 2024-06-27 15:22:16 -07:00