mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
copy
This commit is contained in:
parent
c748c35b37
commit
4005ced505
1 changed files with 29 additions and 0 deletions
|
@ -39,3 +39,32 @@ with more generous rate limits.
|
|||
You can use `aider --model <model-name>` to use any other Anthropic model.
|
||||
For example, if you want to use a specific version of Opus
|
||||
you could do `aider --model claude-3-opus-20240229`.
|
||||
|
||||
## Thinking tokens
|
||||
|
||||
Aider can work with Sonnet 3.7's new thinking tokens, but it currently requires manual configuration.
|
||||
More streamlined support will be coming soon.
|
||||
|
||||
For now, you need to add the following to your `.aider.model.settings.yml`
|
||||
[model settings file](http://127.0.0.1:4000/docs/config/adv-model-settings.html#model-settings).
|
||||
Adjust the `budget_tokens` value to change the target number of thinking tokens.
|
||||
|
||||
```yaml
|
||||
- name: anthropic/claude-3-7-sonnet-20250219
|
||||
edit_format: diff
|
||||
weak_model_name: anthropic/claude-3-5-haiku-20241022
|
||||
use_repo_map: true
|
||||
examples_as_sys_msg: true
|
||||
use_temperature: false
|
||||
extra_params:
|
||||
extra_headers:
|
||||
anthropic-beta: prompt-caching-2024-07-31,pdfs-2024-09-25,output-128k-2025-02-19
|
||||
max_tokens: 64000
|
||||
thinking:
|
||||
type: enabled
|
||||
budget_tokens: 32000 # Adjust this number
|
||||
cache_control: true
|
||||
editor_model_name: anthropic/claude-3-7-sonnet-20250219
|
||||
editor_edit_format: editor-diff
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue