Merge pull request #8866 from continuedev/dallin/opus-4-5-updates
feat: opus 4-5 updates
This commit is contained in:
commit
3d0f57ef48
4 changed files with 38 additions and 14 deletions
|
|
@ -19,20 +19,20 @@ In Continue, these models are used for normal [Chat](../../ide-extensions/chat/q
|
|||
|
||||
For the best overall Chat experience, you will want to use a 400B+ parameter model or one of the frontier models.
|
||||
|
||||
### Claude Opus 4.1 and Claude Sonnet 4 from Anthropic
|
||||
### Claude Opus 4.5 and Claude Sonnet 4 from Anthropic
|
||||
|
||||
Our current top recommendations are Claude Opus 4.1 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic).
|
||||
Our current top recommendations are Claude Opus 4.5 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
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.
|
||||
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.
|
||||
</Tab>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: Claude Opus 4.1
|
||||
- name: Claude Opus 4.5
|
||||
provider: anthropic
|
||||
model: claude-4-1-opus
|
||||
model: claude-opus-4-5
|
||||
apiKey: <YOUR_ANTHROPIC_API_KEY>
|
||||
```
|
||||
</Tab>
|
||||
|
|
|
|||
|
|
@ -1213,13 +1213,13 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
icon: "anthropic.png",
|
||||
isOpenSource: false,
|
||||
},
|
||||
claude41Opus: {
|
||||
title: "Claude 4.1 Opus",
|
||||
description: "The most capable model in the Claude 4 series",
|
||||
claude4_5Opus: {
|
||||
title: "Claude 4.5 Opus",
|
||||
description: "The most capable model in the Claude 4.5 series",
|
||||
params: {
|
||||
model: "claude-opus-4-1-20250805",
|
||||
model: "claude-opus-4-5",
|
||||
contextLength: 200_000,
|
||||
title: "Claude 4.1 Opus",
|
||||
title: "Claude 4.5 Opus",
|
||||
apiKey: "",
|
||||
},
|
||||
providerOptions: ["anthropic"],
|
||||
|
|
|
|||
|
|
@ -168,7 +168,11 @@ export const providers: Partial<Record<string, ProviderInfo>> = {
|
|||
defaultValue: 100000,
|
||||
},
|
||||
],
|
||||
packages: [models.claude4Sonnet, models.claude41Opus, models.claude35Haiku],
|
||||
packages: [
|
||||
models.claude4Sonnet,
|
||||
models.claude4_5Opus,
|
||||
models.claude35Haiku,
|
||||
],
|
||||
apiKeyUrl: "https://console.anthropic.com/account/keys",
|
||||
},
|
||||
moonshot: {
|
||||
|
|
|
|||
|
|
@ -16,15 +16,35 @@ export const Anthropic: ModelProvider = {
|
|||
recommendedFor: ["chat"],
|
||||
},
|
||||
{
|
||||
model: "claude-opus-4-20250514",
|
||||
model: "claude-opus-4-5",
|
||||
displayName: "Claude Opus 4.5",
|
||||
contextLength: 200000,
|
||||
maxCompletionTokens: 64000,
|
||||
description:
|
||||
"Most intelligent model with the highest level of intelligence and capability.",
|
||||
regex: /claude-(?:4-5-opus|opus-4-5).*/i,
|
||||
recommendedFor: ["chat"],
|
||||
},
|
||||
// order matters for regex conflicts
|
||||
{
|
||||
model: "claude-opus-4.1",
|
||||
displayName: "Claude Opus 4.1",
|
||||
contextLength: 200000,
|
||||
maxCompletionTokens: 32000,
|
||||
description: "Previous iteration on Opus",
|
||||
regex: /claude-(?:4[.-]1-opus|opus-4[.-]1).*/i,
|
||||
recommendedFor: ["chat"],
|
||||
},
|
||||
{
|
||||
model: "claude-opus-4",
|
||||
displayName: "Claude 4 Opus",
|
||||
contextLength: 200000,
|
||||
maxCompletionTokens: 8192,
|
||||
description:
|
||||
"Most intelligent model with the highest level of intelligence and capability.",
|
||||
description: "Previous iteration on Opus",
|
||||
regex: /claude-(?:4-opus|opus-4).*/i,
|
||||
recommendedFor: ["chat"],
|
||||
},
|
||||
|
||||
{
|
||||
model: "claude-3-5-sonnet-latest",
|
||||
displayName: "Claude 3.5 Sonnet",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue