Commit graph

6602 commits

Author SHA1 Message Date
Paul Gauthier
31f7856f41 feat: enhance autocomplete functionality for code tokens and filenames 2024-08-27 15:24:45 -07:00
Paul Gauthier
d407a878c4 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-27 15:09:52 -07:00
paul-gauthier
0dcbc09761
Merge pull request #1196 from akaihola/isolated-tests
Use fake home directory to prevent `~/.aider.conf.yml` from affecting the test suite
2024-08-27 15:09:40 -07:00
Paul Gauthier
0390f874a7 feat: add git repository status to platform information 2024-08-27 14:30:15 -07:00
Paul Gauthier
4607d9a689 refactor: Update message formatting in main function 2024-08-27 14:25:56 -07:00
Paul Gauthier
9c35556c2a feat: add user input logging and history for /run command responses 2024-08-27 14:18:56 -07:00
Paul Gauthier
92667c7963 feat: log user input from prompt function in chat history 2024-08-27 14:15:23 -07:00
Antti Kaihola
0746805e43 fix: TestMain now uses a fake home directory
This prevents tests from reading unexpected settings from the real
`~/.aider.conf.yml` file.

Fixes #1165.
2024-08-28 00:13:36 +03:00
Paul Gauthier
714c991230 test: remove unnecessary paginate parameter in cmd_web test 2024-08-27 14:10:56 -07:00
Paul Gauthier
38bde441a6 copy 2024-08-27 14:08:04 -07:00
Paul Gauthier (aider)
ca414ebf32 style: remove unused import of ANY from unittest.mock 2024-08-27 14:07:08 -07:00
Paul Gauthier
6f85f38d47 feat: add option to disable shell command suggestions 2024-08-27 14:06:54 -07:00
Paul Gauthier (aider)
825a94f7f0 fix: strip whitespace from shell command in test assertion 2024-08-27 14:05:10 -07:00
Paul Gauthier
ac9aaff3cf test: refactor shell command suggestion test in test_coder.py 2024-08-27 14:05:09 -07:00
Paul Gauthier (aider)
9125bfc441 style: sort imports in test_coder.py 2024-08-27 14:01:38 -07:00
Paul Gauthier (aider)
96f406ab16 test: add test for suggest_shell_commands functionality 2024-08-27 14:01:34 -07:00
Paul Gauthier (aider)
a9002a3d30 test: add test for suggest_shell_commands functionality 2024-08-27 14:01:14 -07:00
Paul Gauthier (aider)
7815087444 style: format code with black 2024-08-27 13:57:04 -07:00
Paul Gauthier (aider)
d01e9ef7a4 test: update shell command handling checks in test_apply_shell_commands_with_no_suggest 2024-08-27 13:56:59 -07:00
Paul Gauthier
6a55708357 test: update assertions for shell command suggestion behavior 2024-08-27 13:56:58 -07:00
Paul Gauthier (aider)
59cc799b0d style: format code with linter in test_main.py 2024-08-27 13:53:27 -07:00
Paul Gauthier (aider)
3bc1b7c2b7 test: print confirm_ask args in test_apply_shell_commands_with_no_suggest 2024-08-27 13:53:22 -07:00
Paul Gauthier
ac3df464e1 test: verify shell command suggestion behavior with --no-suggest-shell-commands flag 2024-08-27 13:53:21 -07:00
Paul Gauthier
1569995d26 refactor: simplify shell command tests and add TODOs for confirm_ask checks 2024-08-27 13:41:20 -07:00
Paul Gauthier (aider)
8735efc2b1 test: add tests for --no-suggest-shell-commands behavior 2024-08-27 13:33:56 -07:00
Paul Gauthier (aider)
a41ad9e778 test: add tests for --suggest-shell-commands option 2024-08-27 13:32:34 -07:00
Paul Gauthier (aider)
6f70cb3780 style: remove trailing whitespace in base_coder.py 2024-08-27 13:31:49 -07:00
Paul Gauthier (aider)
b178fe85d8 feat: add suggest_shell_commands option to control shell command suggestions 2024-08-27 13:31:43 -07:00
Paul Gauthier (aider)
f33850ceab feat: add --suggest-shell-commands option with default true 2024-08-27 13:30:31 -07:00
Paul Gauthier (aider)
c6c57f0b6e style: remove unused import of Text from rich.text 2024-08-27 13:29:43 -07:00
Paul Gauthier
6f6b016d0f refactor: remove pagination from web command 2024-08-27 13:29:30 -07:00
Paul Gauthier
ffa30983c7 copy 2024-08-27 13:13:15 -07:00
Paul Gauthier (aider)
ba5624992a style: make video responsive for mobile devices 2024-08-27 13:12:27 -07:00
Paul Gauthier
c2e9d01b12 show the video on aider.chat 2024-08-27 13:08:21 -07:00
Paul Gauthier
aae862f499 copy 2024-08-27 12:46:52 -07:00
Paul Gauthier
57809fbbbb copy 2024-08-27 11:51:38 -07:00
Paul Gauthier
d8adc75d7b copy 2024-08-27 11:29:31 -07:00
Paul Gauthier
64c8bd06e1 copy 2024-08-27 11:21:59 -07:00
Paul Gauthier
2b2569b787 feat: enhance shell command output handling and chat integration 2024-08-27 11:17:59 -07:00
Paul Gauthier (aider)
cd48eda88c feat: accumulate and return output in run_shell_commands 2024-08-27 11:12:33 -07:00
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
c1d1c24dbb improve commit message prompt 2024-08-27 11:09:41 -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)
03dfda782c style: Fix import order in aider/commands.py 2024-08-27 10:41:24 -07:00
Paul Gauthier (aider)
cefa3e2cf2 fix: Update imports and function calls for run_interactive_command 2024-08-27 10:41:21 -07:00
Paul Gauthier (aider)
80abb5c812 refactor: Move run_interactive_command functions to run_cmd.py 2024-08-27 10:39:50 -07:00