Commit graph

507 commits

Author SHA1 Message Date
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)
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)
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
899792ce25 fix ^c handling 2024-08-08 15:54:53 -03:00
Paul Gauthier
7314654ad2 cleanup 2024-08-08 15:53:04 -03:00
Paul Gauthier
4abb2e78b6 Merge branch 'main' into async 2024-08-08 15:23:19 -03:00
Paul Gauthier
2369489321 Clean up countdown 2024-08-08 15:19:24 -03:00
Paul Gauthier (aider)
608c80404e feat: implement countdown for retry in 0.1-second increments 2024-08-08 14:58:43 -03:00
Paul Gauthier
3f6ae4b2d9 Handle retries at a higher level; exceptions come out of the streaming completion object 2024-08-08 14:54:59 -03:00
Paul Gauthier
5f3cf2cb2f refactor 2024-08-08 13:50:42 -03:00
Paul Gauthier
e48fecee14 fix: Handle missing model info values gracefully 2024-08-07 07:45:39 -03:00
Paul Gauthier
47295a1545 wip 2024-08-07 07:37:16 -03:00
Paul Gauthier
75bd6f114c Better progress indicator in large repos 2024-08-06 14:33:09 -03:00
Paul Gauthier
535fdfff35 fix: Improve formatting of system information in prompt 2024-08-06 09:55:31 -03:00
Paul Gauthier (aider)
d0096773bf feat: Include timezone information in datetime string 2024-08-06 09:52:54 -03:00
Paul Gauthier (aider)
df4d1735ae style: Apply linter formatting changes 2024-08-06 09:51:38 -03:00
Paul Gauthier (aider)
11745ad16e fix: Show date and time without milliseconds 2024-08-06 09:51:33 -03:00
Paul Gauthier
0d6b41f5c0 fix: Remove unnecessary information from platform text 2024-08-06 09:51:32 -03:00
Paul Gauthier (aider)
eeb47903a0 style: Fix formatting in base_coder.py 2024-08-06 09:50:17 -03:00
Paul Gauthier (aider)
fe33cef894 feat: include country in user language detection 2024-08-06 09:50:12 -03:00
Paul Gauthier (aider)
86d37e0c25 fix: Replace bare except with except Exception in get_user_language() method 2024-08-06 09:48:19 -03:00
Paul Gauthier (aider)
541ab83f15 style: Fix formatting and style issues in base_coder.py 2024-08-06 09:46:42 -03:00
Paul Gauthier (aider)
7d56889880 feat: Add user language detection to platform_text
The changes in this commit add a function to detect the user's language and include it in the `platform_text` without assuming English as a fallback. The language detection is done by checking the `locale` module and common environment variables. If a language is detected, it is added to the `platform_text` with a note about how it was obtained. If no language is detected, no language information is added to `platform_text`.
2024-08-06 09:46:37 -03:00
Paul Gauthier
fb0691914c fix: Use repo map only when map_tokens is greater than 0 2024-08-06 09:11:21 -03:00
Paul Gauthier
13c617ed44 fix: make new dicts and sets for each instance 2024-08-06 08:41:40 -03:00
Paul Gauthier (aider)
a864ab9888 feat: Add a dictionary to cache abs_root_path results 2024-08-05 16:28:44 -03:00
Paul Gauthier
a85ccc26bc Revert "fix: Add debug logging to get_ident_filename_matches method"
This reverts commit 55fcbc958d.
2024-08-05 16:07:26 -03:00
Paul Gauthier
793035b2e0 improve perf of repomap and other file intensive actions 2024-08-05 16:05:19 -03:00
Paul Gauthier
55fcbc958d fix: Add debug logging to get_ident_filename_matches method 2024-08-05 15:35:02 -03:00
Paul Gauthier
617b1bdee2 Can force repo-map on with: --map-tokens 1024 2024-08-05 14:59:12 -03:00
Paul Gauthier (aider)
d3fb831e89 feat: Initialize self.total_cost in __init__ method 2024-08-03 10:14:58 -03:00
Paul Gauthier (aider)
b357c90590 feat: Add total_cost as an init parameter and pass it when creating a from_coder 2024-08-03 10:14:24 -03:00
Paul Gauthier
7a7febfb2b better approach to cloning Commands in from_coders 2024-08-03 10:13:21 -03:00
Paul Gauthier
5e818c2899 support 8k output with 3.5 sonnet 2024-08-01 17:52:14 -03:00
Paul Gauthier
dec8425236 fix: Use None as the working directory for GitRepo in base_coder.py 2024-08-01 15:25:57 -03:00
Paul Gauthier (aider)
ff3d067d94 feat: use weak model first for summarizer in Coder 2024-08-01 14:55:22 -03:00
Paul Gauthier
0ea2b8bcfe fix: Add coder reference to commands 2024-08-01 14:52:59 -03:00
Paul Gauthier (aider)
df70119da0 style: Apply linter formatting changes 2024-08-01 14:50:00 -03:00
Paul Gauthier (aider)
aa3e17dae6 refactor: Refactor ChatSummary initialization and remove max_chat_history_tokens param from Coder 2024-08-01 14:49:54 -03:00