Commit graph

5701 commits

Author SHA1 Message Date
Paul Gauthier (aider)
da5ea3a767 feat: add test for reading external file with --read option 2024-08-09 16:43:08 -04:00
Paul Gauthier (aider)
27a1d9e60f style: Fix linter issues in test_main.py 2024-08-09 16:41:22 -04:00
Paul Gauthier (aider)
6146ea0189 feat: Add test for --read option 2024-08-09 16:41:02 -04:00
Paul Gauthier (aider)
1557bb0c00 feat: add tests for /read and /drop commands 2024-08-09 16:38:42 -04:00
Paul Gauthier
d54f25d63b fix: Rename completions_read to completions_add 2024-08-09 16:30:03 -04:00
Paul Gauthier
f1cfbe9c36 cleanup 2024-08-09 16:49:51 -03:00
Paul Gauthier
2edace4e5f copy 2024-08-09 16:45:47 -03:00
Paul Gauthier
247b258c19 copy 2024-08-09 16:45:33 -03:00
Paul Gauthier (aider)
a321764b92 fix: Check if read-only files exist in __init__ 2024-08-09 16:39:56 -03:00
Paul Gauthier
2199b1c74e fix: Initialize abs_read_only_fnames after finding common root 2024-08-09 16:39:55 -03:00
Paul Gauthier (aider)
064b0d954f feat: Add --read parameter to specify read-only files 2024-08-09 16:34:06 -03:00
Paul Gauthier (aider)
ee6641f2e7 style: Fix formatting and encoding in base_coder.py 2024-08-09 16:32:20 -03:00
Paul Gauthier (aider)
25c36503ff fix: Handle non-existent files in apply_edits 2024-08-09 16:32:15 -03:00
Paul Gauthier (aider)
210d313d52 feat: initialize abs_read_only_fnames using read_only_fnames parameter 2024-08-09 16:31:38 -03:00
Paul Gauthier (aider)
83b142a1bd feat: Add read_only_fnames parameter to __init__ and update create method 2024-08-09 16:30:28 -03:00
Paul Gauthier (aider)
4a39f7c0ca feat: Copy read-only files when creating a new coder from an existing one 2024-08-09 16:28:22 -03:00
Paul Gauthier
d2bd3645ec feat: Add read-only file handling to Coder class 2024-08-09 16:28:19 -03:00
Paul Gauthier (aider)
d0afacd745 feat: Add support for dropping read-only files in /drop command 2024-08-09 16:24:21 -03:00
Paul Gauthier (aider)
f9bc52daea feat: add read-only files to the tokens report 2024-08-09 16:22:33 -03:00
Paul Gauthier
77985f00cf fix: Initialize abs_read_only_fnames set if it doesn't exist 2024-08-09 16:22:32 -03:00
Paul Gauthier (aider)
e7cdd1d7b8 feat: add read-only files messages with read_only_files_prefix before files_content 2024-08-09 16:16:28 -03:00
Paul Gauthier (aider)
9bb2fdf65c feat: add get_read_only_files_content function 2024-08-09 16:14:17 -03:00
Paul Gauthier (aider)
f72e3b3a9b feat: include abs_read_only_fnames when picking the fences 2024-08-09 16:12:21 -03:00
Paul Gauthier
e6f5958278 fix: Add read-only file tracking to base coder 2024-08-09 16:12:19 -03:00
Paul Gauthier (aider)
dad8b6f171 style: Apply linter formatting changes 2024-08-09 16:08:52 -03:00
Paul Gauthier (aider)
598ae7b6b9 feat: Add /read command to load files from anywhere 2024-08-09 16:08:46 -03:00
Paul Gauthier
fa58addcfa fix: Reorder files_messages to display images first 2024-08-09 16:08:43 -03:00
Paul Gauthier (aider)
c578d477f1 style: Fix linter issues in base_coder.py 2024-08-09 15:59:21 -03:00
Paul Gauthier (aider)
7e8d6a23fc feat: Include relative filename of image in get_images_message 2024-08-09 15:59:14 -03:00
Paul Gauthier
b0379aa720 feat: Add image file name to image messages 2024-08-09 15:59:12 -03:00
Paul Gauthier (aider)
1c2bd55caf feat: Enhance format_messages to display all content entries 2024-08-09 15:57:33 -03:00
Paul Gauthier
985a9136fc Don't trigger an LLM response after /add 2024-08-09 15:10:52 -03:00
Paul Gauthier
e580a33780 copy 2024-08-09 14:48:09 -03:00
Paul Gauthier (aider)
61bcf04d15 style: Fix formatting and string literals in commands.py 2024-08-09 14:47:43 -03:00
Paul Gauthier (aider)
8bae297e5d feat: Add support for custom filenames with image extensions in /clipboard command 2024-08-09 14:47:38 -03:00
Paul Gauthier
a94b871991 feat: Add support for uploading clipboard images and text to chat 2024-08-09 14:47:36 -03:00
Paul Gauthier
17038f30f2 copy 2024-08-09 12:15:32 -03:00
Paul Gauthier (aider)
f3089a74e6 style: Format code for better readability 2024-08-09 11:55:56 -03:00
Paul Gauthier (aider)
df8482abb8 feat: add model name to /tokens command output 2024-08-09 11:55:52 -03:00
Paul Gauthier (aider)
f2c7ba3f36 feat: Use Git to get the last modified date 2024-08-09 11:04:48 -03:00
Paul Gauthier
f6c9f86ea4 copy 2024-08-09 11:04:05 -03:00
Paul Gauthier
0478fa79ca bump dep versions 2024-08-09 10:13:37 -03:00
Paul Gauthier
184519f773 copy 2024-08-09 08:08:01 -03:00
Paul Gauthier (aider)
b3b8cb58da style: Apply linter formatting to commands.py 2024-08-09 08:07:26 -03:00
Paul Gauthier (aider)
8b517cac62 feat: Add cmd_map command to print the current repository map 2024-08-09 08:07:22 -03:00
Paul Gauthier (aider)
e1ce4f1b9f style: format code with linter 2024-08-09 08:04:18 -03:00
Paul Gauthier (aider)
f03718a48f feat: Replace existing image in chat when uploading clipboard image 2024-08-09 08:04:14 -03:00
Paul Gauthier (aider)
604a1fcae4 fix: Use a temporary directory with a simple filename for clipboard images 2024-08-09 08:00:36 -03:00
Paul Gauthier
27af9414d5 add pyperclip 2024-08-09 07:59:11 -03:00
Paul Gauthier
e5cec464da copy 2024-08-09 07:59:05 -03:00