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
eb21cf2830
architect/editor
2024-09-26 16:10:19 -07:00
Jonathan Ellis
d2fbc92507
feat: include non-repo files for completing /read
2024-09-26 10:28:03 -05: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
087dbb40a3
feat: Add SeniorCoder and update prompts
2024-09-25 10:23:31 -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
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 (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
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
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
8cfdcbd976
refactor: remove redundant get_system_info method and update related test
2024-09-05 13:00:32 -07:00
Paul Gauthier (aider)
45855bd96c
feat: add get_system_info method to Coder base class
2024-09-05 12:59:12 -07:00
Paul Gauthier (aider)
3d73fac84c
feat: add chat_language parameter to Coder class
2024-09-05 12:49:11 -07:00
Paul Gauthier
2d866418da
feat: add ignore_mentions attribute to cloned Coder instances
2024-09-04 14:40:21 -07:00
Paul Gauthier (aider)
6152a82513
fix: handle ValueError in os.path.relpath calls
2024-09-04 14:10:56 -07:00
Paul Gauthier
c4e4967691
refactor: improve error handling in run_cmd function
2024-09-04 08:56:34 -07:00
Paul Gauthier
40d5880b44
refactor: improve error handling and messaging for git auto-commit
2024-09-04 08:52:48 -07:00
Paul Gauthier (aider)
cef78282bd
feat: add error handling for git operations in auto_commit method
2024-09-04 08:52:11 -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
151132277f
bugfix
2024-08-31 18:43:20 -07:00
Paul Gauthier (aider)
827469463f
style: remove unnecessary f-string prefixes
2024-08-31 10:28:00 -07:00
Paul Gauthier
029c017eb5
refactor: Update platform text generation for lint and test commands
2024-08-31 10:27:52 -07:00
Paul Gauthier (aider)
041b2317fb
style: remove unused import of 'git'
2024-08-31 08:41:51 -07:00
Paul Gauthier
e48037b8b7
style: reorder imports in base_coder.py alphabetically
2024-08-31 08:41:45 -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
01964ca294
refactor: improve file handling and error reporting in Coder class
2024-08-31 08:15:02 -07:00
Paul Gauthier (aider)
b6b4fc6fab
refactor: replace .touch() calls with utils.touch_file()
2024-08-31 08:08:49 -07:00