Paul Gauthier
992600fcb7
fixes #1889
2024-10-02 11:06:19 -07:00
Paul Gauthier
f2e1e17741
avoid stomping extra_params[max_tokens]=1 in cache warming, which causes loop of 1 token infinite-output responses with prefill models #1842 #1841
2024-09-30 14:22:11 -07:00
mario7421
98b3f5bbdb
Fix typo in diff prompt
2024-09-29 21:07:20 +02:00
Paul Gauthier
97ddcb2ae6
feat: Add autocomplete support for /read-only command
2024-09-28 15:14:35 -07:00
Paul Gauthier
7e4e6782d1
fix: set max_tokens to 1 for cache warming
2024-09-27 16:46:03 -07:00
Paul Gauthier (aider)
aab01086a2
style: fix formatting in base_coder.py
2024-09-27 16:43:24 -07:00
Paul Gauthier (aider)
f7818c6994
feat: Use **kwargs for extra_params in warm_cache_worker
2024-09-27 16:43:18 -07:00
Paul Gauthier
22c60cad1a
refactor: Replace extra_params
with extra_headers
in cache warming request
2024-09-27 16:43:17 -07:00
Paul Gauthier
bb740f3004
refactor: Replace extra_headers
with extra_params
in cache warming request
2024-09-27 16:22:17 -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
810aeccf94
fix: Replace extra_headers and extra_body with extra_params in Coder, ChatSummary, and GitRepo
2024-09-27 13:09:43 -07:00
Paul Gauthier
a230fa10b3
feat: Add option to show announcements only when verbose mode is enabled
2024-09-27 12:12:35 -07:00
Paul Gauthier
ad38339f74
Bring commit hashes back from editor_coder, to allow /undo
2024-09-27 11:06:37 -07:00
Paul Gauthier
d6cf8377f1
rename files architect/editor
2024-09-26 16:16:05 -07:00
Paul Gauthier
eb21cf2830
architect/editor
2024-09-26 16:10:19 -07:00
Paul Gauthier
7feaccd35a
cleanup
2024-09-26 11:29:39 -07:00
Jonathan Ellis
d2fbc92507
feat: include non-repo files for completing /read
2024-09-26 10:28:03 -05:00
Paul Gauthier
25e833bbd4
fix: Rename JuniorWholeFileCoder
and JuniorWholeFilePrompts
classes
2024-09-25 14:25:16 -07:00
Paul Gauthier (aider)
c18d6a8960
chore: Run linter
2024-09-25 14:14:48 -07:00
Paul Gauthier (aider)
2ff5e4969e
feat: Add JuniorEditBlockCoder and JuniorWholeFileCoder to __init__.py
2024-09-25 14:14:44 -07:00
Paul Gauthier
839ebe5a7c
fix: Add missing attributes to junior coder
2024-09-25 14:03:24 -07:00
Paul Gauthier
15cc709322
feat: Improve senior coder's edit format handling
2024-09-25 11:42:09 -07:00
Paul Gauthier (aider)
0ded63cd31
feat: Reorder Junior and Weak Model announcements
2024-09-25 11:18:17 -07:00
Paul Gauthier (aider)
f0d02f2c76
style: Improve formatting of long string
2024-09-25 11:17:39 -07:00
Paul Gauthier (aider)
f8cef655f0
feat: Add junior model information to announcement for senior edit format
2024-09-25 11:17:34 -07:00
Paul Gauthier (aider)
6d19abf7ec
fix: Remove unused import of Model
from aider/coders/senior_coder.py
2024-09-25 11:04:48 -07:00
Paul Gauthier (aider)
e718b43fc8
style: Fix formatting in senior_coder.py
2024-09-25 11:04:39 -07:00
Paul Gauthier (aider)
a4aa88a440
feat: Adapt SeniorCoder to use Model.junior_model
2024-09-25 11:04:34 -07:00
Paul Gauthier
df8f57b628
feat: create a new junior coder with updated kwargs
2024-09-25 10:55:16 -07:00
Paul Gauthier
130c6f7308
fix: Prompt user to confirm file edits before proceeding
2024-09-25 10:29:58 -07:00
Paul Gauthier
26745426ae
fix: Update SeniorCoder class to configure and run JuniorCoder with appropriate settings
2024-09-25 10:27:27 -07:00
Paul Gauthier
087dbb40a3
feat: Add SeniorCoder and update prompts
2024-09-25 10:23:31 -07:00
Paul Gauthier (aider)
095bae6513
fix: Remove unused import and fix undefined name in senior_coder.py
2024-09-25 09:54:54 -07:00
Paul Gauthier (aider)
95c70951fd
fix: Remove unused import and import correct base class
2024-09-25 09:54:39 -07:00
Paul Gauthier (aider)
58c27e401e
style: Fix import order in junior_whole_coder.py
2024-09-25 09:54:27 -07:00
Paul Gauthier (aider)
f2d60528f7
fix: Remove unused import and fix undefined name
2024-09-25 09:54:23 -07:00
Paul Gauthier
65e57df7ea
feat: Implement changes to handle files content in Coder and prompts
2024-09-25 09:54:16 -07:00
Paul Gauthier
075bc828f6
stand alone junior message
2024-09-25 08:41:49 -07:00
Paul Gauthier
a9e9f9cdbe
Merge branch 'main' into ask-plan-simple
2024-09-25 07:46:15 -07:00
paul-gauthier
0adb7e0fd3
Merge pull request #1590 from hypn4/main
...
feat: add `extra_body`field and use in model settings.
2024-09-24 13:16:38 -07:00
Paul Gauthier
117ff96c76
fix: Properly refactor mdstream from Coder into IO
2024-09-24 11:53:05 -07:00
hypn4
d0bce02c00
feat: add extra_body
field and use in model settings.
...
resolved : #1583
The `extra_body` field is a parameter used by the `openai` provider.
Since `litellm` also uses this field to additionally transmit `request body`, I added a function so that `aider` can also utilize the `extra_body` field.
The `openrouter` provider also supports various functions through the additional field of `request body`, so we added the function.
The following is how to use it in model settings.
```yaml
# .aider.model.settings.yml
- name: "openrouter/<YOUR_MODEL>"
edit_format: "whole"
use_repo_map: true
extra_body:
provider:
order:
- Azure
allow_fallbacks: false
```
2024-09-23 20:37:10 +09:00
Paul Gauthier
54cfbc4142
handle ### filename.ext
in whole format
2024-09-22 08:21:15 -07:00
Paul Gauthier (aider)
454a2ebdcf
style: format code using linter
2024-09-20 13:44:07 -07:00
Paul Gauthier (aider)
7fa1620f58
feat: Allow flexible matching of 5-9 characters in SEARCH/REPLACE block prefixes
2024-09-20 13:44:02 -07:00
Paul Gauthier (aider)
230ec50209
refactor: Improve choose_fence
function to check for fence start in lines
2024-09-20 13:40:44 -07:00
Paul Gauthier
d94c1c0e1f
fix: Remove redundant message when no changes were made
2024-09-20 12:14:52 -07:00
Paul Gauthier
83662b7470
Merge branch 'main' into ask-plan-simple
2024-09-12 17:19:14 -07:00
Paul Gauthier
1755d2e0f4
fix: Use temperature setting from model configuration
2024-09-12 14:24:21 -07:00