Commit graph

885 commits

Author SHA1 Message Date
Paul Gauthier
474b657221 refactor: Improve handling of command output in chat confirmation 2024-08-27 11:12:31 -07:00
Paul Gauthier (aider)
1c37924472 feat: accumulate shell command output and optionally add to chat 2024-08-27 11:10:52 -07:00
Paul Gauthier
eed7e0b652 fix: Add missing utils import to base_coder.py
feat: Improve prompt for adding tool output to chat
2024-08-27 10:58:23 -07:00
Paul Gauthier
35eecee739 better 2024-08-27 10:50:31 -07:00
Paul Gauthier (aider)
d2d6e94ddb style: Run linter 2024-08-27 10:41:44 -07:00
Paul Gauthier (aider)
5ecce49abd fix: Update imports and function calls in base_coder.py 2024-08-27 10:41:40 -07:00
Paul Gauthier (aider)
cc8f488b23 fix: Remove unused 'subprocess' import in editblock_coder.py 2024-08-27 09:15:13 -07:00
Paul Gauthier
089863cf32 fix: Remove unused run_interactive_subprocess method from EditBlockCoder 2024-08-27 09:15:07 -07:00
Paul Gauthier (aider)
15639d8801 style: Fix import statement formatting 2024-08-27 09:11:50 -07:00
Paul Gauthier (aider)
bbc619fdba fix: Use run_interactive_command for shell commands 2024-08-27 09:11:46 -07:00
Paul Gauthier
4705136951 fix: Add caching by default for deepseek coder. 2024-08-27 06:12:55 -07:00
Paul Gauthier
c760b61cf5 fix: Reduce number of cache warming pings 2024-08-26 16:30:07 -07:00
Paul Gauthier
27e854708a fix: Increase cache warming delay to 5 minutes minus 10 seconds 2024-08-26 16:28:18 -07:00
Paul Gauthier (aider)
ee11af11db feat: make the cache warming thread a daemon 2024-08-26 16:23:56 -07:00
Paul Gauthier (aider)
75e8a38c3a fix: Remove unused import of timedelta from base_coder.py 2024-08-26 16:22:59 -07:00
Paul Gauthier
07767e2961 fix: Implement cache warming with a background thread 2024-08-26 16:22:53 -07:00
Paul Gauthier
97a70830e9 cleanup 2024-08-26 15:49:48 -07:00
Paul Gauthier (aider)
1dd1f7eb22 style: Ran the linter 2024-08-26 15:48:12 -07:00
Paul Gauthier (aider)
f5da41216c feat: use the format_tokens in utils.py in warm_cache_worker 2024-08-26 15:48:08 -07:00
Paul Gauthier (aider)
bd9e6d7f58 refactor: Move format_tokens function to utils.py 2024-08-26 15:46:26 -07:00
Paul Gauthier
93e37b60d0 fix: Reduce cache warming sleep time from 20 to 10 seconds 2024-08-26 15:46:25 -07:00
Paul Gauthier (aider)
75a51025a0 style: Improve formatting of cache warming message 2024-08-26 15:42:10 -07:00
Paul Gauthier (aider)
a6ff08b2c5 feat: Add progress indicator and format cached tokens in warm_cache_worker 2024-08-26 15:42:04 -07:00
Paul Gauthier
8319df775e fix: Reduce number of cache warming pings to 0 2024-08-26 15:42:03 -07:00
Paul Gauthier (aider)
a17b9601c5 style: Ran the linter 2024-08-26 15:40:08 -07:00
Paul Gauthier (aider)
0b2d0004b6 feat: add num_cache_warming_pings arg to __init__ 2024-08-26 15:40:03 -07:00
Paul Gauthier
8cec00eb9c fix: Warm cache only when add_cache_headers is True 2024-08-26 15:40:02 -07:00
Paul Gauthier (aider)
1472fc56cb style: Run linter 2024-08-26 15:28:02 -07:00
Paul Gauthier (aider)
17d210be4a feat: Add cache warming functionality to base_coder.py 2024-08-26 15:27:58 -07:00
Paul Gauthier (aider)
0f8354dd6a feat: Add Coder.warm_cache method to start a thread for cache warming 2024-08-26 15:27:49 -07:00
Paul Gauthier
e234ba10cd fix: Return chunks instead of messages in format_messages method 2024-08-26 15:27:01 -07:00
Paul Gauthier (aider)
b53b1c95d5 feat: Use all_messages to get initial messages and rename chunks to messages 2024-08-26 15:14:40 -07:00
Paul Gauthier (aider)
9b70819de1 style: Ran the linter 2024-08-26 15:13:40 -07:00
Paul Gauthier (aider)
9231154871 feat: add cacheable_messages() method to ChatChunks class 2024-08-26 15:13:37 -07:00
Paul Gauthier
66e9c3834a fix: Improve filename detection in find_filename function 2024-08-26 13:52:35 -07:00
Paul Gauthier (aider)
a716fda897 fix: Handle partial filename matches correctly in find_filename 2024-08-26 13:49:11 -07:00
Paul Gauthier
5b672e9bfd only take fuzzy matches that match a single valid fname 2024-08-26 12:11:49 -07:00
Paul Gauthier (aider)
e17a1fff3a feat: implement fuzzy filename matching 2024-08-26 12:10:33 -07:00
Paul Gauthier
dfce19f186 fix: Add fuzzy matching for finding filename in editblock_coder 2024-08-26 12:10:32 -07:00
Paul Gauthier
4b2227c71f don't disrupt \_ in filenames #1158 2024-08-26 12:08:46 -07:00
Paul Gauthier
8c766f81b2 use valid_fnames to improve find_filename 2024-08-26 12:03:36 -07:00
Paul Gauthier
ce2324c0c6 stronger prompt for full file path #1159 2024-08-26 10:58:35 -07:00
Paul Gauthier
65d224fba4 fix: Add support for directories with special characters in cmd_add 2024-08-25 12:05:31 -07:00
Paul Gauthier
7b2379c7c2 fix: Remove unnecessary ConfirmGroup from confirm_ask call 2024-08-25 10:20:46 -07:00
Paul Gauthier
668ab7e204 fix: Add ConfirmGroup to confirm file and shell command additions 2024-08-23 16:54:03 -07:00
Paul Gauthier
b26550d93f fix: Add ConfirmGroup to confirm URL addition 2024-08-23 16:50:38 -07:00
Paul Gauthier
edb7dea70c fix: Apply updates to edited files 2024-08-23 13:34:18 -07:00
Paul Gauthier
61f7d60c47 fix: Move run_shell_commands() call after auto_lint and auto_test checks 2024-08-23 06:38:16 -07:00
Paul Gauthier
32a53364c4 cleanup 2024-08-22 16:52:09 -07:00
Paul Gauthier
56e8f6db40 just show > not code> if in default edit format 2024-08-22 15:51:03 -07:00