Commit graph

119 commits

Author SHA1 Message Date
Paul Gauthier
ec935842ab fix: Improve error handling in run_interactive_command_pexpect 2024-08-27 09:09:24 -07:00
Paul Gauthier (aider)
27e8780cbe style: Fix formatting in utils.py 2024-08-27 09:02:25 -07:00
Paul Gauthier (aider)
15521c41d1 feat: Introduce run_interactive_command that uses pexpect if available, otherwise falls back to subprocess 2024-08-27 09:02:21 -07:00
Paul Gauthier
444416638a fix: Rename run_interactive_command to run_interactive_command_pexpect 2024-08-27 09:02:20 -07:00
Paul Gauthier (aider)
3ccb876434 fix: Correct SEARCH/REPLACE block in aider/utils.py 2024-08-27 08:59:20 -07:00
Paul Gauthier (aider)
52d5a7636d fix: Use /bin/sh -c if it exists in run_interactive_command 2024-08-27 08:59:08 -07:00
Paul Gauthier (aider)
206f3ae275 style: Fix formatting and use consistent quotes in utils.py 2024-08-27 08:58:57 -07:00
Paul Gauthier (aider)
106a14cbdd fix: Use /bin/sh -c if it exists for run_interactive_command 2024-08-27 08:58:54 -07:00
Paul Gauthier (aider)
9f42c3a0f4 style: Run linter 2024-08-27 08:56:09 -07:00
Paul Gauthier (aider)
d2cc7b676a feat: Add output and status code dumping 2024-08-27 08:56:06 -07:00
Paul Gauthier (aider)
55049c312e feat: add __main__ to run_interactive_command with sys.argv 2024-08-27 08:54:35 -07:00
Paul Gauthier
3bd4af23da fix: Refactor run_interactive_command function to use UTF-8 encoding 2024-08-27 08:54:34 -07:00
Paul Gauthier (aider)
90d3b8fab6 feat: add run_interactive_command function 2024-08-27 08:53:29 -07:00
Paul Gauthier (aider)
0197853c39 style: Run linter on utils.py 2024-08-27 08:52:54 -07:00
Paul Gauthier (aider)
59a43bd0a1 fix: Add run_interactive_command function to aider/utils.py 2024-08-27 08:52:51 -07:00
Paul Gauthier
b44141f179 add --install-main-branch 2024-08-27 05:47:02 -07:00
Paul Gauthier (aider)
bd9e6d7f58 refactor: Move format_tokens function to utils.py 2024-08-26 15:46:26 -07:00
Paul Gauthier (aider)
547d7533c2 fix: Remove unused import of 'json' in 'aider/utils.py' 2024-08-25 09:39:58 -07:00
Paul Gauthier
b67914d74e fix: Improve model info caching and fallback logic 2024-08-25 09:39:26 -07:00
Paul Gauthier
b7a9925cea fix: Remove unused import 'requests' from 'aider/models.py' 2024-08-25 08:22:20 -07:00
Paul Gauthier (aider)
fa7d92a117 fix: Move import statement to top of file 2024-08-25 07:55:22 -07:00
Paul Gauthier (aider)
2570a4d193 style: Format code with black 2024-08-25 07:55:08 -07:00
Paul Gauthier (aider)
7f1f2cb7ba feat: Add safe_read_json and safe_write_json functions to aider/utils.py 2024-08-25 07:55:02 -07:00
Paul Gauthier (aider)
5e93dcf2cc feat: Use safe_abs_path in find_common_root function 2024-08-22 13:57:40 -07:00
Paul Gauthier (aider)
1a50a8cc5e fix: remove unnecessary import in aider/utils.py 2024-08-22 13:55:52 -07:00
Paul Gauthier (aider)
880ade4f12 style: Run linter 2024-08-22 13:55:36 -07:00
Paul Gauthier (aider)
221cde0fed refactor: Move find_common_root into aider/utils.py and update Coder class to use it 2024-08-22 13:55:32 -07:00
Paul Gauthier
9fb3a6f8e1 fix: Update string formatting in confirm_ask calls 2024-08-21 05:38:33 -07:00
Paul Gauthier
ba746dd211 fix: Improve confirm dialog messages 2024-08-21 05:38:13 -07:00
Paul Gauthier (aider)
0ec7f8c0c4 feat: add Python version check for TemporaryDirectory 2024-08-20 08:18:38 -07:00
Paul Gauthier
4db6e28118 ignore_cleanup_errors 2024-08-20 08:10:32 -07:00
Paul Gauthier (aider)
45d85b1419 fix: Ignore recursion errors in cleanup method 2024-08-20 08:06:28 -07:00
Paul Gauthier
cb24f8c6d4 attempt to fix windows tests in CI 2024-08-12 14:09:52 -07:00
Paul Gauthier
5bf36002ec Try and use a normalized dirname to avoid windows test issues in CI 2024-08-12 11:18:15 -07:00
Paul Gauthier (aider)
1c2bd55caf feat: Enhance format_messages to display all content entries 2024-08-09 15:57:33 -03:00
Paul Gauthier (aider)
fd43cd401d feat: Use the Spinner instead of the inlined custom spinner 2024-08-05 19:33:57 -03:00
Paul Gauthier
c67d10749c fix: Remove unused spinner method from InputOutput class 2024-08-05 19:31:54 -03:00
Paul Gauthier
1aaa8365d2 more debug if pip installs fail 2024-07-31 09:52:41 -03:00
Paul Gauthier
dadfb464c4 sssh 2024-07-17 14:38:54 +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
Paul Gauthier
9ed0e33b9f refactor help install and add to test setup 2024-07-14 17:49:33 +01:00
Paul Gauthier
76dad84285 added [browser] extra; refac the pip install utils 2024-07-14 17:22:17 +01:00
Paul Gauthier
6c38306eab Automatically install the new aider version 2024-07-13 07:47:07 +01:00
Paul Gauthier
6c2a168327 Added a new function run_install_with_spinner to handle the pip installation process with a spinner. 2024-07-12 17:46:39 +01:00
Paul Gauthier (aider)
af8dff8714 Replaced the simple ASCII spinner characters with a more visually appealing set of Unicode braille characters. 2024-07-12 17:43:58 +01:00
Paul Gauthier (aider)
cbf0fd881c Implemented a simple text spinner to show progress during pip installation. 2024-07-12 17:43:15 +01:00
Paul Gauthier
0d7746c6d7 Improved the pip_install function to handle installation output more gracefully, including printing a simple text spinner during the installation process. 2024-07-12 17:43:14 +01:00