Skip to content

Commit 3d0f57e

Browse files
authored
Merge pull request #8866 from continuedev/dallin/opus-4-5-updates
feat: opus 4-5 updates
2 parents 0dd7402 + 0fdadbb commit 3d0f57e

File tree

4 files changed

+38
-14
lines changed

4 files changed

+38
-14
lines changed

docs/customize/model-roles/chat.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ In Continue, these models are used for normal [Chat](../../ide-extensions/chat/q
1919

2020
For the best overall Chat experience, you will want to use a 400B+ parameter model or one of the frontier models.
2121

22-
### Claude Opus 4.1 and Claude Sonnet 4 from Anthropic
22+
### Claude Opus 4.5 and Claude Sonnet 4 from Anthropic
2323

24-
Our current top recommendations are Claude Opus 4.1 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic).
24+
Our current top recommendations are Claude Opus 4.5 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic).
2525

2626
<Tabs>
2727
<Tab title="Hub">
28-
View the [Claude Opus 4.1 model block](https://hub.continue.dev/anthropic/claude-4-1-opus) or [Claude Sonnet 4 model block](https://hub.continue.dev/anthropic/claude-4-sonnet) on the hub.
28+
View the [Claude Opus 4.5 model block](https://hub.continue.dev/anthropic/claude-4-5-opus) or [Claude Sonnet 4 model block](https://hub.continue.dev/anthropic/claude-4-sonnet) on the hub.
2929
</Tab>
3030
<Tab title="YAML">
3131
```yaml title="config.yaml"
3232
models:
33-
- name: Claude Opus 4.1
33+
- name: Claude Opus 4.5
3434
provider: anthropic
35-
model: claude-4-1-opus
35+
model: claude-opus-4-5
3636
apiKey: <YOUR_ANTHROPIC_API_KEY>
3737
```
3838
</Tab>

gui/src/pages/AddNewModel/configs/models.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,13 +1213,13 @@ export const models: { [key: string]: ModelPackage } = {
12131213
icon: "anthropic.png",
12141214
isOpenSource: false,
12151215
},
1216-
claude41Opus: {
1217-
title: "Claude 4.1 Opus",
1218-
description: "The most capable model in the Claude 4 series",
1216+
claude4_5Opus: {
1217+
title: "Claude 4.5 Opus",
1218+
description: "The most capable model in the Claude 4.5 series",
12191219
params: {
1220-
model: "claude-opus-4-1-20250805",
1220+
model: "claude-opus-4-5",
12211221
contextLength: 200_000,
1222-
title: "Claude 4.1 Opus",
1222+
title: "Claude 4.5 Opus",
12231223
apiKey: "",
12241224
},
12251225
providerOptions: ["anthropic"],

gui/src/pages/AddNewModel/configs/providers.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ export const providers: Partial<Record<string, ProviderInfo>> = {
168168
defaultValue: 100000,
169169
},
170170
],
171-
packages: [models.claude4Sonnet, models.claude41Opus, models.claude35Haiku],
171+
packages: [
172+
models.claude4Sonnet,
173+
models.claude4_5Opus,
174+
models.claude35Haiku,
175+
],
172176
apiKeyUrl: "https://console.anthropic.com/account/keys",
173177
},
174178
moonshot: {

packages/llm-info/src/providers/anthropic.ts

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,35 @@ export const Anthropic: ModelProvider = {
1616
recommendedFor: ["chat"],
1717
},
1818
{
19-
model: "claude-opus-4-20250514",
20-
displayName: "Claude 4 Opus",
19+
model: "claude-opus-4-5",
20+
displayName: "Claude Opus 4.5",
2121
contextLength: 200000,
22-
maxCompletionTokens: 8192,
22+
maxCompletionTokens: 64000,
2323
description:
2424
"Most intelligent model with the highest level of intelligence and capability.",
25+
regex: /claude-(?:4-5-opus|opus-4-5).*/i,
26+
recommendedFor: ["chat"],
27+
},
28+
// order matters for regex conflicts
29+
{
30+
model: "claude-opus-4.1",
31+
displayName: "Claude Opus 4.1",
32+
contextLength: 200000,
33+
maxCompletionTokens: 32000,
34+
description: "Previous iteration on Opus",
35+
regex: /claude-(?:4[.-]1-opus|opus-4[.-]1).*/i,
36+
recommendedFor: ["chat"],
37+
},
38+
{
39+
model: "claude-opus-4",
40+
displayName: "Claude 4 Opus",
41+
contextLength: 200000,
42+
maxCompletionTokens: 8192,
43+
description: "Previous iteration on Opus",
2544
regex: /claude-(?:4-opus|opus-4).*/i,
2645
recommendedFor: ["chat"],
2746
},
47+
2848
{
2949
model: "claude-3-5-sonnet-latest",
3050
displayName: "Claude 3.5 Sonnet",

0 commit comments

Comments
 (0)