mirror of
https://github.com/cline/cline.git
synced 2026-09-19 10:13:34 +08:00
Correct Bedrock Opus 4.6 model id (#9126)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"cline": patch
|
||||
---
|
||||
|
||||
Fix Bedrock model id
|
||||
@@ -113,8 +113,8 @@ interface ProviderChainOptions {
|
||||
// a special jp inference profile was created for opus 4.6, sonnet 4.5 & haiku 4.5
|
||||
// https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html
|
||||
const JP_SUPPORTED_CRIS_MODELS = [
|
||||
"anthropic.claude-opus-4-6-v1:0",
|
||||
"anthropic.claude-opus-4-6-v1:0:1m",
|
||||
"anthropic.claude-opus-4-6-v1",
|
||||
"anthropic.claude-opus-4-6-v1:1m",
|
||||
"anthropic.claude-sonnet-4-5-20250929-v1:0",
|
||||
"anthropic.claude-sonnet-4-5-20250929-v1:0:1m",
|
||||
"anthropic.claude-haiku-4-5-20251001-v1:0",
|
||||
|
||||
+2
-2
@@ -460,7 +460,7 @@ export const bedrockModels = {
|
||||
cacheReadsPrice: 0.3,
|
||||
tiers: CLAUDE_SONNET_1M_TIERS,
|
||||
},
|
||||
"anthropic.claude-opus-4-6-v1:0": {
|
||||
"anthropic.claude-opus-4-6-v1": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 200_000,
|
||||
supportsImages: true,
|
||||
@@ -472,7 +472,7 @@ export const bedrockModels = {
|
||||
cacheWritesPrice: 6.25,
|
||||
cacheReadsPrice: 0.5,
|
||||
},
|
||||
"anthropic.claude-opus-4-6-v1:0:1m": {
|
||||
"anthropic.claude-opus-4-6-v1:1m": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 1_000_000,
|
||||
supportsImages: true,
|
||||
|
||||
@@ -13,8 +13,8 @@ import { getModeSpecificFields, normalizeApiConfiguration } from "../utils/provi
|
||||
import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers"
|
||||
|
||||
export const SUPPORTED_BEDROCK_THINKING_MODELS = [
|
||||
"anthropic.claude-opus-4-6-v1:0",
|
||||
`anthropic.claude-opus-4-6-v1:0${CLAUDE_SONNET_1M_SUFFIX}`,
|
||||
"anthropic.claude-opus-4-6-v1",
|
||||
`anthropic.claude-opus-4-6-v1${CLAUDE_SONNET_1M_SUFFIX}`,
|
||||
"anthropic.claude-3-7-sonnet-20250219-v1:0",
|
||||
"anthropic.claude-sonnet-4-20250514-v1:0",
|
||||
"anthropic.claude-sonnet-4-5-20250929-v1:0",
|
||||
|
||||
Reference in New Issue
Block a user