Commit graph

706 commits

Author SHA1 Message Date
Paul Gauthier
4e63254704 refactor: Improve error handling in git repository checks 2024-09-09 13:40:56 -07:00
Paul Gauthier
cee348614e copy 2024-09-08 17:07:25 -07:00
Paul Gauthier
e40a07a8a1 refactor: move import check before API key setup 2024-09-08 09:26:39 -07:00
Paul Gauthier
9982f439e4 feat: improve error handling for import loading 2024-09-08 09:18:20 -07:00
Paul Gauthier (aider)
1e9ff842f3 style: format code with linter 2024-09-08 09:11:08 -07:00
Paul Gauthier (aider)
aeea629d17 feat: add verbose output to check_and_load_imports function 2024-09-08 09:11:03 -07:00
Paul Gauthier
b4389f98fb refactor: Synchronize slow imports and improve error handling 2024-09-08 09:11:00 -07:00
Paul Gauthier (aider)
f54b6860db feat: optimize slow imports loading based on version and executable 2024-09-08 09:07:19 -07:00
Paul Gauthier (aider)
ed7a9c6562 refactor: extract thread launch for load_slow_imports into function 2024-09-08 09:05:55 -07:00
Krazer
11020c8aee send output through InputOutput 2024-09-06 17:35:55 -05:00
Paul Gauthier (aider)
781996fe84 feat: pass chat language to Coder.create 2024-09-05 12:52:26 -07:00
Paul Gauthier
a35c532211 refactor: Move json import to top of file and remove unused import 2024-09-05 12:00:44 -07:00
Paul Gauthier (aider)
c2b8522e9a refactor: remove unused json import at top level 2024-09-05 12:00:28 -07:00
Paul Gauthier (aider)
5123d8c5de feat: add json import to main.py 2024-09-05 12:00:13 -07:00
Paul Gauthier (aider)
9b924237b7 style: add newline after json import in main.py 2024-09-05 11:59:56 -07:00
Paul Gauthier (aider)
c04453d282 feat: print model info as formatted JSON in verbose mode 2024-09-05 11:59:50 -07:00
Paul Gauthier
6c739d391b refactor: rename --models flag to --list-models 2024-09-05 11:40:31 -07:00
Paul Gauthier
18bf3a9f36 fixes #1348 2024-09-04 10:27:18 -07:00
Paul Gauthier
1e8f2cbbb9 refactor: handle UnicodeEncodeError by recreating InputOutput object 2024-09-03 17:15:20 -07:00
Paul Gauthier
9348a10aaf copy 2024-09-03 15:48:37 -07:00
Paul Gauthier
dff814a7a8 refactor: change tool_error to tool_warning for non-critical messages 2024-09-03 13:30:04 -07:00
Paul Gauthier (aider)
84b5433ace feat: add tool_warning_color argument and update color modes 2024-09-03 12:42:25 -07:00
Paul Gauthier
c8b2024f8b refactor: simplify error handling in get_tracked_files method 2024-09-02 16:03:54 -07:00
Paul Gauthier
4063015560 ensure IO obeys pretty flag, catch UnicodeDecodeError on launch and disable pretty 2024-09-02 11:31:39 -07:00
Paul Gauthier (aider)
ef38960b0c style: format long function calls and parameters 2024-08-31 12:00:48 -07:00
Paul Gauthier (aider)
b6dc6e105f feat: add verbose flag to Commands class and pass it from args 2024-08-31 12:00:40 -07:00
Paul Gauthier
5781f91649 refactor: consolidate git error handling with ANY_GIT_ERROR constant 2024-08-31 08:41:32 -07:00
Paul Gauthier
5a6f7b3cd1 catch all git errors 2024-08-31 08:36:00 -07:00
Paul Gauthier
72c9ac460b catch all git.exc.ODBError 2024-08-31 08:24:53 -07:00
Paul Gauthier
c32a991b2c use git.exc not gitdb.exc 2024-08-31 08:21:07 -07:00
Paul Gauthier
1a5a618608 fix: handle GitCommandNotFound exception in make_new_repo function 2024-08-31 07:49:23 -07:00
Paul Gauthier (aider)
7ab1cf5160 fix: Import gitdb module to resolve undefined name error 2024-08-31 07:44:11 -07:00
Paul Gauthier
9e196a3bdf fix: update exception handling for git repo initialization 2024-08-31 07:44:04 -07:00
Paul Gauthier
013dac288c feat: add user confirmation for model warnings 2024-08-30 08:28:21 -07:00
Paul Gauthier (aider)
29108d9962 style: format long line in sanity_check_repo function 2024-08-30 07:56:15 -07:00
Paul Gauthier (aider)
ae1508582c fix: resolve flake8 errors in sanity_check_repo function 2024-08-30 07:55:49 -07:00
Paul Gauthier
4c32e45b74 feat: add sanity check for git repository compatibility 2024-08-30 07:55:23 -07:00
Paul Gauthier (aider)
6b2933e2bd style: fix import order and remove unused import 2024-08-30 07:44:09 -07:00
Paul Gauthier (aider)
c97f699492 refactor: move UnableToCountRepoFiles to repo.py and raise from get_tracked_files 2024-08-30 07:44:04 -07:00
Paul Gauthier
b1c268f355 refactor: Improve error handling for repository file counting failure 2024-08-30 07:01:39 -07:00
Paul Gauthier (aider)
b6944bd670 feat: handle UnableToCountRepoFiles exception in main function 2024-08-30 07:01:00 -07:00
Paul Gauthier
c67699a154 fixes #1233 2024-08-30 06:56:21 -07:00
Paul Gauthier (aider)
bc67123b48 refactor: move import statement to top of file 2024-08-29 09:51:31 -07:00
Paul Gauthier (aider)
9d8048d02c style: add newline before function call in main.py 2024-08-29 09:51:18 -07:00
Paul Gauthier (aider)
d0ef9945ee feat: add exception hook at start of main function 2024-08-29 09:51:14 -07:00
Paul Gauthier (aider)
0b7142d2de feat: pass parser to Commands class for extended functionality 2024-08-29 06:32:27 -07:00
Paul Gauthier (aider)
2b2ab3994d refactor: move scrub_sensitive_info to format_settings.py 2024-08-29 06:31:35 -07:00
Paul Gauthier (aider)
93c089c5ec style: format imports and whitespace 2024-08-29 06:30:43 -07:00
Paul Gauthier (aider)
43d3cf2c71 refactor: move format_settings function to separate file 2024-08-29 06:30:37 -07:00
Paul Gauthier
25de4f318c feat: Add args parameter to Commands constructor 2024-08-29 06:27:41 -07:00