Add Claude-Sonnet-4-6 model support to frontend (#13224)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Juan Michelini
2026-03-04 21:13:30 -03:00
committed by GitHub
parent bf769d1744
commit a1f73bb4c6
3 changed files with 4 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ export const VERIFIED_PROVIDERS = [
export const VERIFIED_MODELS = [ export const VERIFIED_MODELS = [
"claude-opus-4-6", "claude-opus-4-6",
"claude-opus-4-5-20251101", "claude-opus-4-5-20251101",
"claude-sonnet-4-6",
"claude-sonnet-4-5-20250929", "claude-sonnet-4-5-20250929",
"gpt-5.2-codex", "gpt-5.2-codex",
"gpt-5.2", "gpt-5.2",
@@ -55,6 +56,7 @@ export const VERIFIED_MISTRAL_MODELS = ["devstral-medium-2512"];
export const VERIFIED_OPENHANDS_MODELS = [ export const VERIFIED_OPENHANDS_MODELS = [
"claude-opus-4-6", "claude-opus-4-6",
"claude-opus-4-5-20251101", "claude-opus-4-5-20251101",
"claude-sonnet-4-6",
"claude-sonnet-4-5-20250929", "claude-sonnet-4-5-20250929",
"gpt-5.2-codex", "gpt-5.2-codex",
"gpt-5.2", "gpt-5.2",

View File

@@ -117,6 +117,7 @@ REASONING_EFFORT_PATTERNS: list[str] = [
# DeepSeek reasoning family # DeepSeek reasoning family
'deepseek-r1-0528*', 'deepseek-r1-0528*',
'claude-sonnet-4-5*', 'claude-sonnet-4-5*',
'claude-sonnet-4-6*',
'claude-haiku-4-5*', 'claude-haiku-4-5*',
# GLM series - verified via litellm config # GLM series - verified via litellm config
'glm-4*', 'glm-4*',

View File

@@ -16,6 +16,7 @@ from openhands.llm import bedrock
OPENHANDS_MODELS = [ OPENHANDS_MODELS = [
'openhands/claude-opus-4-6', 'openhands/claude-opus-4-6',
'openhands/claude-opus-4-5-20251101', 'openhands/claude-opus-4-5-20251101',
'openhands/claude-sonnet-4-6',
'openhands/claude-sonnet-4-5-20250929', 'openhands/claude-sonnet-4-5-20250929',
'openhands/gpt-5.2-codex', 'openhands/gpt-5.2-codex',
'openhands/gpt-5.2', 'openhands/gpt-5.2',