mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
feat: 添加 Bedrock API 客户端及 API 层增强
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -944,6 +944,9 @@ function get3PModelFallbackSuggestion(model: string): string | undefined {
|
||||
// @[MODEL LAUNCH]: Add a fallback suggestion chain for the new model → previous version for 3P
|
||||
const m = model.toLowerCase()
|
||||
// If the failing model looks like an Opus 4.6 variant, suggest the default Opus (4.1 for 3P)
|
||||
if (m.includes('opus-4-7') || m.includes('opus_4_7')) {
|
||||
return getModelStrings().opus46
|
||||
}
|
||||
if (m.includes('opus-4-6') || m.includes('opus_4_6')) {
|
||||
return getModelStrings().opus41
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user