Commit graph

691 commits

Author SHA1 Message Date
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
Paul Gauthier
a9b3fccce8 Do not make .git in $HOME 2024-08-28 16:15:51 -07:00
Paul Gauthier
0541513c7a refactor: simplify git repository setup process 2024-08-28 15:54:28 -07:00
Paul Gauthier
12d2ba6f3e refactor: Modify git repository setup process for improved user experience 2024-08-28 15:48:09 -07:00
Paul Gauthier
380f019c0d feat: add model switching tip and sort git repos 2024-08-28 15:33:41 -07:00
Paul Gauthier
6f09f651a1 fix: Set git_root to None if no git repositories are found in the home directory 2024-08-28 15:28:05 -07:00
Paul Gauthier
d05cd4b459 feat: Implement setup_git_home function 2024-08-28 15:14:13 -07:00
Paul Gauthier (aider)
a57d9e55d6 fix: handle directory creation errors in setup_git_home 2024-08-28 11:21:28 -07:00
Paul Gauthier (aider)
2192a5efb2 chore: fix failing tests in setup_git_home function 2024-08-28 11:19:30 -07:00
Paul Gauthier (aider)
2da8b57104 refactor: simplify repository selection prompt 2024-08-28 11:14:42 -07:00
Paul Gauthier (aider)
65cce58b0a feat: add option to create new project in setup_git_home 2024-08-28 11:14:07 -07:00
Paul Gauthier
0d33fcb2be refactor: Improve git repository selection prompt wording 2024-08-28 11:13:14 -07:00
Paul Gauthier (aider)
f5bc657027 refactor: change working directory before returning in setup_git_home 2024-08-28 10:43:22 -07:00
Paul Gauthier (aider)
abb94fc582 refactor: remove home_git logic from setup_git_home function 2024-08-28 10:42:37 -07:00
Paul Gauthier (aider)
cdbaa58f08 feat: enhance git repository selection in setup_git_home 2024-08-28 10:39:59 -07:00
Paul Gauthier
36aae9cef3 refactor: Simplify Git repository discovery and improve user prompts 2024-08-28 10:39:40 -07:00