Commit graph

459 commits

Author SHA1 Message Date
Paul Gauthier (aider)
25c3a959dd fix: Handle OSError when loading dotenv files 2024-09-23 11:35:27 -07:00
Paul Gauthier
ba0a328196 fix: Disable SSL verification for LiteLLM client sessions 2024-09-23 11:28:17 -07:00
fry69
a695c6c46e fix: add missing variable initialization 2024-09-23 07:02:33 +02:00
Paul Gauthier
2314179b83 fix: Add default encoding to load_dotenv_files function 2024-09-21 19:01:24 -07:00
Paul Gauthier (aider)
516a3a6647 style: Fix formatting in load_dotenv_files function 2024-09-21 18:58:48 -07:00
Paul Gauthier (aider)
07a95deaba fix: Use args.encoding when loading .env files 2024-09-21 18:58:43 -07:00
Paul Gauthier
8349cd5c15 fix: Handle FileNotFoundError in get_git_root function 2024-09-20 11:45:48 -07:00
Paul Gauthier (aider)
859fc1f184 fix: Adjust streaming settings before creating Coder object 2024-09-12 14:49:21 -07:00
Paul Gauthier (aider)
94a2bc5ef5 style: Improve formatting of warning message 2024-09-12 14:46:36 -07:00
Paul Gauthier (aider)
efa0c0e292 fix: Disable streaming if main model does not support it 2024-09-12 14:46:32 -07:00
Paul Gauthier
36fa773376 fix: Simplify get_help_md function in commands.py 2024-09-11 14:38:23 -07:00
paul-gauthier
d1384e9d5f
Merge pull request #1402 from caseymcc/io_assistant_output
Modify output from Assistant and Commands to go through InputOutput
2024-09-10 15:08:10 -07:00
Paul Gauthier
bd21122e64 refactor: improve error handling for git version check 2024-09-09 13:44:02 -07:00
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