Commit graph

6705 commits

Author SHA1 Message Date
Paul Gauthier
ad3f29bdce fix: improve error handling for lexer exceptions in AutoCompleter and RepoMap 2024-08-28 22:49:22 -07:00
Paul Gauthier
ce397b71e8 do not try pexpect on windows; fix time.clock error on windows 2024-08-28 22:26:48 -07:00
Paul Gauthier
bcb3fa1b47 copy 2024-08-28 22:20:00 -07:00
Paul Gauthier (aider)
81925241cb feat: add --update as alias for --upgrade option 2024-08-28 22:19:36 -07:00
Paul Gauthier (aider)
9acbee31db style: add noqa comment to suppress unused import warning 2024-08-28 22:14:55 -07:00
Paul Gauthier (aider)
e0c806476f style: format test_run_cmd.py with black 2024-08-28 22:14:11 -07:00
Paul Gauthier (aider)
40993fecf7 test: add tests for run_cmd function using echo command 2024-08-28 22:14:08 -07:00
Paul Gauthier
8e66b2d790 test: add basic test for run_cmd function 2024-08-28 22:14:06 -07:00
Paul Gauthier
e45def7a98 refactor: sort new file mentions before confirmation 2024-08-28 17:59:04 -07:00
Paul Gauthier (aider)
41a43fc313 fix: remove redundant set conversion in get_file_mentions return 2024-08-28 17:52:27 -07:00
Paul Gauthier
b9c5a7cdab refactor: optimize file mention checking logic 2024-08-28 17:52:25 -07:00
Paul Gauthier (aider)
5d2a930f69 test: add mock test for check_for_file_mentions behavior 2024-08-28 17:51:37 -07:00
Paul Gauthier (aider)
b0d4b4319d refactor: introduce new_mentions variable for clarity 2024-08-28 17:49:23 -07:00
Paul Gauthier
6fbb51e2f8 refactor: Return set directly in get_file_mentions method 2024-08-28 17:49:22 -07:00
Paul Gauthier (aider)
bfb2355103 feat: implement and initialize ignore_mentions set 2024-08-28 17:48:22 -07:00
Paul Gauthier
aae7b6e62f feat: add unconfirmed files to ignore list 2024-08-28 17:48:20 -07:00
Paul Gauthier (aider)
b57f040f19 feat: implement granular file addition confirmation in check_for_file_mentions 2024-08-28 17:46:04 -07:00
Paul Gauthier
a9b3fccce8 Do not make .git in $HOME 2024-08-28 16:15:51 -07:00
Paul Gauthier
e63c104f83 copy 2024-08-28 16:13:33 -07:00
Paul Gauthier
3657769617 set version to 0.54.5-dev 2024-08-28 16:12:30 -07:00
Paul Gauthier
5f522e0f39 version bump to 0.54.4 2024-08-28 16:11:13 -07:00
Paul Gauthier
e11cd8ecbb test: update AutoCompleter test for command matching 2024-08-28 16:03:40 -07:00
Paul Gauthier (aider)
d2bc24cb18 fix: update test_get_command_completions to handle matching_commands return value 2024-08-28 16:01:10 -07:00
Paul Gauthier (aider)
6687a24547 style: format test_io.py with linter 2024-08-28 16:00:49 -07:00
Paul Gauthier (aider)
d02e96f773 test: add test case for get_command_completions with "/model gpt" input 2024-08-28 16:00:45 -07:00
Paul Gauthier
ac6c76d530 fix /model completions 2024-08-28 15:57:06 -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
e0ff2bcc51 copy 2024-08-28 15:41:02 -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 (aider)
b8a52c2bef feat: use IgnorantTemporaryDirectory and create actual repo1 subdirectory in test_setup_git_home_existing_repo 2024-08-28 15:27:03 -07:00
Paul Gauthier (aider)
fc77570b38 fix: Update assertion in test_setup_git_home_invalid_choice 2024-08-28 15:25:12 -07:00
Paul Gauthier (aider)
54c5fb2bbd style: format code 2024-08-28 15:24:11 -07:00
Paul Gauthier (aider)
715a9a9c71 feat: use IgnorantTemporaryDirectory and create actual repo1 and repo2 subdirs in test_setup_git_home_invalid_choice 2024-08-28 15:24:07 -07:00
Paul Gauthier (aider)
4d08f9c6c5 style: format code with linter 2024-08-28 15:20:35 -07:00
Paul Gauthier (aider)
8c1fa3e9ff feat: use IgnorantTemporaryDirectory as Path.home in test_setup_git_home_new_repo 2024-08-28 15:20:31 -07:00
Paul Gauthier (aider)
6e3278afb7 style: Run linter 2024-08-28 15:15:54 -07:00
Paul Gauthier (aider)
8180fb06b0 feat: add tests for setup_git_home 2024-08-28 15:15:50 -07:00
Paul Gauthier
a0b330feda fix: Remove unused test cases for setup_git_home function 2024-08-28 15:15:16 -07:00
Paul Gauthier
d05cd4b459 feat: Implement setup_git_home function 2024-08-28 15:14:13 -07:00
Paul Gauthier
5b0a660f27 copy 2024-08-28 13:04:09 -07:00
Paul Gauthier
b0d06e13fe be very conservative with get_model_info if model not found 2024-08-28 13:04:00 -07:00
Paul Gauthier
9e71886bf1 set version to 0.54.4-dev 2024-08-28 12:36:32 -07:00
Paul Gauthier
c473a8b170 version bump to 0.54.3 2024-08-28 12:35:18 -07:00
Paul Gauthier
67004e7e4f add json5 dep 2024-08-28 12:19:15 -07:00
Paul Gauthier
af6ae8da8a restore json 2024-08-28 12:17:40 -07:00
Paul Gauthier
02c18c0835 docker build fails: streamlit 1.38.0 depends on watchdog<5 2024-08-28 12:16:51 -07:00
Paul Gauthier (aider)
e1d4e81194 style: reorder imports in aider/models.py 2024-08-28 12:03:30 -07:00
Paul Gauthier (aider)
59b6a64687 feat: use json5 for loading litellm models 2024-08-28 12:03:26 -07:00