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
Paul Gauthier
8aee4d25ed
add ModelSettings.use_system_prompt
2024-09-12 14:19:53 -07:00
Paul Gauthier
291b456a45
hack for o1-mini: no system prompt, no temperature
2024-09-12 13:05:25 -07:00
Paul Gauthier
35588b6984
fix: Fix formatting of assistant_output assignment in base_coder.py
2024-09-11 09:54:47 -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
fe2e36afda
cache ro+repo or just ro if no repo
2024-09-09 14:51:33 -07:00
Paul Gauthier
d2379a6d73
feat: add shell command suggestion toggle and related prompts
2024-09-07 07:21:41 -07:00
Krazer
f4853d166f
remove console
2024-09-06 18:08:51 -05:00
Krazer
69b9a4510d
remove unused
2024-09-06 17:40:40 -05:00
Krazer
11020c8aee
send output through InputOutput
2024-09-06 17:35:55 -05:00
Paul Gauthier
cc15909629
clean diff edit format
2024-09-06 11:25:20 -07:00
Paul Gauthier
5b584db90c
sonnet-sonnet gets 60.2/84.2
2024-09-06 09:49:01 -07:00