Commit graph

5113 commits

Author SHA1 Message Date
Paul Gauthier (aider)
c9bcc1aa57 Added a test to check the .env file override behavior as described in the documentation. 2024-07-18 17:07:38 +01:00
Paul Gauthier
397c5d5921 added a test for /tokens #863 2024-07-18 16:54:26 +01:00
Paul Gauthier (aider)
cdd45c7d28 Added a test for the cmd_tokens method that creates a small Git repository, adds files to the chat, and verifies that the output of cmd_tokens includes the repository map information and details about the added files. 2024-07-18 16:39:42 +01:00
Paul Gauthier
c99c5db35c updated coder test 2024-07-18 16:35:27 +01:00
Paul Gauthier (aider)
6fdb4f8214 Handled case where first commit cannot be undone 2024-07-18 16:32:47 +01:00
Paul Gauthier
3ce3799f8d Implemented checks to ensure files with uncommitted changes or not present in previous commit cannot be undone safely. 2024-07-18 16:32:45 +01:00
Paul Gauthier
e7f29c2dbc Added a new test case for cmd_undo with a newly committed file. 2024-07-18 16:17:20 +01:00
Paul Gauthier (aider)
9aeeaf383f Implemented a test that will trigger the bug described in issue #882. 2024-07-18 16:09:38 +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
c076c134ac use html source if pandoc NOT available 2024-07-18 10:03:04 +01:00
Paul Gauthier
88214f963b return html if pandoc is not available 2024-07-18 10:01:50 +01:00
Paul Gauthier
903faa8fef Catch errors when installing pandoc 2024-07-18 09:58:47 +01:00
Paul Gauthier
032e1a7904 copy 2024-07-18 09:54:30 +01:00
Paul Gauthier
cd86354f12 check_version shows output for --just-check-update 2024-07-17 15:23:47 +01:00
Paul Gauthier
dadfb464c4 sssh 2024-07-17 14:38:54 +01:00
Paul Gauthier (aider)
24e34a4a8d Replaced API keys with last 4 characters for debugging purposes. 2024-07-17 14:02:19 +01:00
Paul Gauthier
e9904172f1 copy 2024-07-16 18:49:44 +01:00
Paul Gauthier
2e0a64fd35 copy 2024-07-16 16:17:39 +01:00
Paul Gauthier
bc4d5ebe88 copy 2024-07-16 16:04:10 +01:00
Paul Gauthier
61988433fa set version to 0.44.1-dev 2024-07-16 15:52:58 +01:00
Paul Gauthier
5b2d688db1 version bump to 0.44.0 2024-07-16 15:51:44 +01:00
Paul Gauthier (aider)
e91a580540 Aider wrote 29% of the code in this release (157/547 lines). 2024-07-16 15:41:54 +01:00
Paul Gauthier
b67ba03e0a Updated HISTORY 2024-07-16 15:39:23 +01:00
Paul Gauthier
e9b3c13569 cleanup 2024-07-16 11:42:17 +01:00
Paul Gauthier
96b1e1d04f finished scrape tests 2024-07-16 11:27:27 +01:00
Paul Gauthier (aider)
d5a258356b Mocked the aider.scraper.Scraper.scrape method in the test_cmd_web_imports_playwright test. 2024-07-16 11:14:29 +01:00
Paul Gauthier
d41f07b024 Refactored the test_cmd_web_imports_playwright test to capture stdout and assert that the example.com content was scraped. 2024-07-16 11:12:59 +01:00
Paul Gauthier (aider)
74f4bd106a Implemented a test for the cmd_scrape command that ensures playwright can be imported after running cmd_web. 2024-07-16 11:11:17 +01:00
Paul Gauthier (aider)
3e7663e914 Added a test for the cmd_web command to ensure that playwright can be imported after running the command. 2024-07-16 11:08:33 +01:00
Paul Gauthier
b18dbf4772 renamed hf-embed -> help 2024-07-16 11:03:01 +01:00
Paul Gauthier (aider)
bd8143a880 Added test for running main with --browser --yes flags 2024-07-16 10:53:27 +01:00
Paul Gauthier
7f38bb49c2 test pip install on /help directory 2024-07-16 10:50:26 +01:00
Paul Gauthier
0e067ba8bb copy 2024-07-16 10:34:07 +01:00
Paul Gauthier
896e79bcd1 use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
Paul Gauthier
2d09af61ba copy 2024-07-16 10:29:44 +01:00
Paul Gauthier
513ae28a57 copy 2024-07-16 10:08:29 +01:00
Paul Gauthier
6a930b1c06 copy 2024-07-16 10:07:59 +01:00
Paul Gauthier
e8617ee8dd noop 2024-07-15 08:41:27 +01:00
Paul Gauthier
0860e7b30d do not package tests/ 2024-07-15 08:40:32 +01:00
Paul Gauthier (aider)
7ece31c08a Moved the tests directory from aider/tests/ to tests/ 2024-07-15 08:40:10 +01:00
Paul Gauthier
2db74a7579 refac extras 2024-07-14 20:36:36 +01:00
Paul Gauthier (aider)
e9bcdceb3b Simplified the extras_require dictionary in setup.py by using a loop over the extra requirement types. 2024-07-14 20:35:10 +01:00
Paul Gauthier (aider)
bb3fd143a5 Replaced separate requirement variables with direct calls to get_requirements in extras_require dictionary. 2024-07-14 20:34:25 +01:00
Paul Gauthier
c5d93d7f0c removed get_playwright_instructions 2024-07-14 20:04:27 +01:00
Paul Gauthier
a522b2fd85 fixed test_check_for_urls 2024-07-14 19:48:55 +01:00
Paul Gauthier
4fbe3d295a added [playwright] extra 2024-07-14 19:34:48 +01:00
Paul Gauthier (aider)
bc1369c480 Updated the spinner to update 5 times per second. 2024-07-14 18:48:31 +01:00
Paul Gauthier
6b56a31afc Reduced the maximum line length for the installation progress output to 10 characters. 2024-07-14 18:48:29 +01:00
Paul Gauthier (aider)
2affb111ad Read character by character and update the spinner every newline or every 100 characters received in the run_install function. 2024-07-14 18:46:54 +01:00