Skip to content

Commit e54ac08

Browse files
committed
fix: Vertex AI model names use vertex_ai/ prefix
Don't be confused with `llm_provider` which is `vertex_ai-language-models` https://github.com/BerriAI/litellm/blob/340a0453d33d980568402713f32238569de5fb30/litellm/__init__.py#L509
1 parent 17d40a6 commit e54ac08

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

aider/resources/model-settings.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,15 @@
315315
editor_edit_format: editor-diff
316316
accepts_settings: ["thinking_tokens"]
317317

318-
- name: vertex_ai-anthropic_models/vertex_ai/claude-3-7-sonnet@20250219
318+
- name: vertex_ai/claude-3-7-sonnet@20250219
319319
overeager: true
320320
edit_format: diff
321321
weak_model_name: vertex_ai/claude-3-5-haiku@20241022
322322
use_repo_map: true
323323
examples_as_sys_msg: true
324324
extra_params:
325325
max_tokens: 64000
326-
editor_model_name: vertex_ai-anthropic_models/vertex_ai/claude-3-7-sonnet@20250219
326+
editor_model_name: vertex_ai/claude-3-7-sonnet@20250219
327327
editor_edit_format: editor-diff
328328
accepts_settings: ["thinking_tokens"]
329329

@@ -1610,14 +1610,14 @@
16101610
editor_edit_format: editor-diff
16111611
accepts_settings: ["thinking_tokens"]
16121612

1613-
- name: vertex_ai-anthropic_models/vertex_ai/claude-sonnet-4@20250514
1613+
- name: vertex_ai/claude-sonnet-4@20250514
16141614
edit_format: diff
16151615
weak_model_name: vertex_ai/claude-3-5-haiku@20241022
16161616
use_repo_map: true
16171617
examples_as_sys_msg: false
16181618
extra_params:
16191619
max_tokens: 64000
1620-
editor_model_name: vertex_ai-anthropic_models/vertex_ai/claude-sonnet-4@20250514
1620+
editor_model_name: vertex_ai/claude-sonnet-4@20250514
16211621
editor_edit_format: editor-diff
16221622
accepts_settings: ["thinking_tokens"]
16231623

@@ -1814,21 +1814,22 @@
18141814
editor_edit_format: editor-diff
18151815
accepts_settings: ["thinking_tokens"]
18161816

1817-
- name: vertex_ai-anthropic_models/vertex_ai/claude-opus-4@20250514
1817+
- name: vertex_ai/claude-opus-4@20250514
18181818
edit_format: diff
18191819
weak_model_name: vertex_ai/claude-3-5-haiku@20241022
18201820
use_repo_map: true
18211821
examples_as_sys_msg: false
18221822
extra_params:
18231823
max_tokens: 32000
1824-
editor_model_name: vertex_ai-anthropic_models/vertex_ai/claude-sonnet-4@20250514
1824+
editor_model_name: vertex_ai/claude-sonnet-4@20250514
18251825
editor_edit_format: editor-diff
18261826
accepts_settings: ["thinking_tokens"]
18271827

18281828
- name: vertex_ai/gemini-2.5-flash-preview-05-20
18291829
edit_format: diff
18301830
use_repo_map: true
18311831
accepts_settings: ["reasoning_effort", "thinking_tokens"]
1832+
18321833
- name: openrouter/anthropic/claude-opus-4
18331834
edit_format: diff
18341835
weak_model_name: openrouter/anthropic/claude-3-5-haiku

aider/website/docs/config/adv-model-settings.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,37 +1730,37 @@ cog.out("```\n")
17301730
accepts_settings:
17311731
- thinking_tokens
17321732
1733-
- name: vertex_ai-anthropic_models/vertex_ai/claude-3-7-sonnet@20250219
1733+
- name: vertex_ai/claude-3-7-sonnet@20250219
17341734
edit_format: diff
17351735
weak_model_name: vertex_ai/claude-3-5-haiku@20241022
17361736
use_repo_map: true
17371737
overeager: true
17381738
examples_as_sys_msg: true
17391739
extra_params:
17401740
max_tokens: 64000
1741-
editor_model_name: vertex_ai-anthropic_models/vertex_ai/claude-3-7-sonnet@20250219
1741+
editor_model_name: vertex_ai/claude-3-7-sonnet@20250219
17421742
editor_edit_format: editor-diff
17431743
accepts_settings:
17441744
- thinking_tokens
17451745
1746-
- name: vertex_ai-anthropic_models/vertex_ai/claude-opus-4@20250514
1746+
- name: vertex_ai/claude-opus-4@20250514
17471747
edit_format: diff
17481748
weak_model_name: vertex_ai/claude-3-5-haiku@20241022
17491749
use_repo_map: true
17501750
extra_params:
17511751
max_tokens: 32000
1752-
editor_model_name: vertex_ai-anthropic_models/vertex_ai/claude-sonnet-4@20250514
1752+
editor_model_name: vertex_ai/claude-sonnet-4@20250514
17531753
editor_edit_format: editor-diff
17541754
accepts_settings:
17551755
- thinking_tokens
17561756
1757-
- name: vertex_ai-anthropic_models/vertex_ai/claude-sonnet-4@20250514
1757+
- name: vertex_ai/claude-sonnet-4@20250514
17581758
edit_format: diff
17591759
weak_model_name: vertex_ai/claude-3-5-haiku@20241022
17601760
use_repo_map: true
17611761
extra_params:
17621762
max_tokens: 64000
1763-
editor_model_name: vertex_ai-anthropic_models/vertex_ai/claude-sonnet-4@20250514
1763+
editor_model_name: vertex_ai/claude-sonnet-4@20250514
17641764
editor_edit_format: editor-diff
17651765
accepts_settings:
17661766
- thinking_tokens

0 commit comments

Comments
 (0)