Commit graph

635 commits

Author SHA1 Message Date
Paul Gauthier (aider)
114fb2a889 style: Improve code formatting and readability 2024-09-27 14:26:56 -07:00
Paul Gauthier (aider)
f95c4626cf fix: Handle clipboard copy errors in cmd_copy 2024-09-27 14:26:50 -07:00
Paul Gauthier (aider)
11db5d95a0 feat: Add /copy command to copy last assistant message 2024-09-27 14:25:22 -07:00
Paul Gauthier (aider)
7d79dd00af style: Improve code formatting and readability 2024-09-27 14:21:43 -07:00
Paul Gauthier (aider)
0c470662bb feat: Add /copy command to copy last assistant message to clipboard 2024-09-27 14:21:37 -07:00
Paul Gauthier
7c1318274e Revert "feat: include non-repo files for completing /read"
This reverts commit d2fbc92507.
2024-09-27 13:17:36 -07:00
paul-gauthier
2dfc47f5c6
Merge pull request #1757 from jbellis/read-nonrepo
feat: include non-repo files for completing /read
2024-09-27 13:15:23 -07:00
paul-gauthier
c2c4dbd2a8
Merge pull request #1595 from jbellis/paste
feat: rename /clipboard to /paste
2024-09-27 12:31:53 -07:00
Paul Gauthier (aider)
f38ea0c8e2 feat: Add cmd_architect method to aider/commands.py 2024-09-27 10:25:50 -07:00
Jonathan Ellis
d2fbc92507 feat: include non-repo files for completing /read 2024-09-26 10:28:03 -05:00
Mike Bailey
1cc30a22f9 feat: Option to compress audio files by ~90%
Add option to reduce bandwidth (and potentially latency) by converting
voice recordings (wav) into a compressed audio format (webm or mp3).

Default behaviour is unchanged.

> File uploads are currently limited to 25 MB and the following input file
> types are supported: mp3, mp4, mpeg, mpga, m4a, wav, and webm.
>
> - https://platform.openai.com/docs/guides/speech-to-text
2024-09-22 22:20:07 +10:00
Jonathan Ellis
dca9b18871 feat: rename /clipboard to /paste 2024-09-19 09:45:59 -05: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 (aider)
13f9685f13 style: Format code to comply with linter rules 2024-09-10 13:03:36 -07:00
Paul Gauthier (aider)
00f03d89b9 feat: expand read-only command to handle directories 2024-09-10 13:03:31 -07:00
Krazer
11020c8aee send output through InputOutput 2024-09-06 17:35:55 -05:00
Paul Gauthier
75c27a5dfb feat: enhance GitHub issue reporting functionality 2024-09-04 10:14:25 -07:00
Paul Gauthier (aider)
7598f883f5 style: format long line in report command for better readability 2024-09-04 10:09:13 -07:00
Paul Gauthier (aider)
1b5ef76c18 refactor: update cmd_report to use confirm=False and conditional user report prefix 2024-09-04 10:09:07 -07:00
Paul Gauthier (aider)
70994cfc5b feat: add confirm parameter to report_github_issue function 2024-09-04 10:08:16 -07:00
Paul Gauthier
c5ac621da1 docs: Update description of 'report' command 2024-09-04 10:08:08 -07:00
Paul Gauthier (aider)
5c6d4dbbf1 feat: add /report command to submit GitHub issues 2024-09-04 10:05:43 -07:00
Paul Gauthier
8cd2f0ef71 defend against spawn TypeError: sequence item 2: expected str instance, list found 2024-09-04 09:06:17 -07:00
Paul Gauthier
c4e4967691 refactor: improve error handling in run_cmd function 2024-09-04 08:56:34 -07:00
Paul Gauthier (aider)
8d0f7daa3a refactor: update method calls to match renamed raw command methods 2024-09-04 08:44:53 -07:00
Paul Gauthier (aider)
aa98e43d59 refactor: rename raw command methods for consistency 2024-09-04 08:44:25 -07:00
Paul Gauthier (aider)
8609594c0e refactor: split cmd_undo and cmd_commit into raw and exception-handling methods 2024-09-04 08:43:00 -07:00
Paul Gauthier (aider)
bb9cb629e4 style: Remove extra blank line in commands.py 2024-09-04 08:40:28 -07:00
Paul Gauthier (aider)
d68aff6c6b refactor: implement cmd_diff and fix error message 2024-09-04 08:40:23 -07:00
Paul Gauthier
3a78f217b2 feat: add error handling to cmd_diff and create cmd_diff_raw 2024-09-04 08:40:20 -07:00
Paul Gauthier
f3cce95419 refactor: Remove unnecessary strip parameter from tool_output calls 2024-09-03 20:03:11 -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
d7d3f3a740 catch git errors from all /commands 2024-09-02 11:14:55 -07:00
Paul Gauthier
fcf83cb9ee fixes #1297 2024-09-02 11:10:37 -07:00
Paul Gauthier
7c013dba6a strip the args for commands 2024-08-31 14:31:25 -07:00
Paul Gauthier (aider)
fa1a5a5145 feat: pass verbose flag to run_cmd function 2024-08-31 12:03:47 -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
b729ed3ab2 fix 2024-08-31 10:55:52 -07:00
Paul Gauthier
231a49ef91 cleanup 2024-08-31 10:53:23 -07:00
Paul Gauthier
494dec65b5 provide clear feedback when /undo fails midway through 2024-08-31 10:45:24 -07:00
Paul Gauthier (aider)
8e3d7e55d4 feat: display modified and unmodified files when aborting undo 2024-08-31 10:41:55 -07:00
Paul Gauthier
7ebeb33a4d feat: enhance undo command with error handling and merge commit checks 2024-08-31 10:41:53 -07:00
Paul Gauthier (aider)
f591265281 style: remove unused import of 'git' 2024-08-31 08:41:38 -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
b3d9d0098e cleanup 2024-08-31 07:37:32 -07:00
Paul Gauthier
3b9e000892 get_head* -> get_head_commit* 2024-08-31 07:35:55 -07:00