fix(providers): add claude-sonnet-5 to canonical model registry (#10183)
Co-authored-by: syf2211 <syf2211@users.noreply.github.com>
This commit is contained in:
@@ -361,6 +361,7 @@ fn inferred_thinking_mode(canonical_id: &str) -> Option<ThinkingMode> {
|
||||
"anthropic/claude-opus-4.7" => Some(ThinkingMode::Adaptive),
|
||||
"anthropic/claude-opus-4.8" => Some(ThinkingMode::Adaptive),
|
||||
"anthropic/claude-sonnet-4.6" => Some(ThinkingMode::Adaptive),
|
||||
"anthropic/claude-sonnet-5" => Some(ThinkingMode::Adaptive),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ pub const BEDROCK_DOC_LINK: &str =
|
||||
|
||||
pub const BEDROCK_DEFAULT_MODEL: &str = "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
||||
pub const BEDROCK_KNOWN_MODELS: &[&str] = &[
|
||||
"global.anthropic.claude-sonnet-5",
|
||||
"us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
||||
"us.anthropic.claude-sonnet-4-20250514-v1:0",
|
||||
"us.anthropic.claude-3-7-sonnet-20250219-v1:0",
|
||||
|
||||
Reference in New Issue
Block a user