Add Claude Opus 4.6 model support (#12767)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: neubig <neubig@users.noreply.github.com>
This commit is contained in:
Graham Neubig
2026-03-02 13:12:48 -05:00
committed by GitHub
parent 5f42d03ec5
commit d63565186e
3 changed files with 13 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ export const VERIFIED_PROVIDERS = [
"clarifai",
];
export const VERIFIED_MODELS = [
"claude-opus-4-6",
"claude-opus-4-5-20251101",
"claude-sonnet-4-5-20250929",
"gpt-5.2-codex",
@@ -33,6 +34,7 @@ export const VERIFIED_OPENAI_MODELS = [
// LiteLLM does not return the compatible Anthropic models with the provider, so we list them here to set them ourselves
// (e.g., they return `claude-3-5-sonnet-20241022` instead of `anthropic/claude-3-5-sonnet-20241022`)
export const VERIFIED_ANTHROPIC_MODELS = [
"claude-opus-4-6",
"claude-opus-4-5-20251101",
"claude-sonnet-4-5-20250929",
"claude-3-5-sonnet-20240620",
@@ -50,6 +52,7 @@ export const VERIFIED_MISTRAL_MODELS = ["devstral-medium-2512"];
// LiteLLM does not return the compatible OpenHands models with the provider, so we list them here to set them ourselves
// (e.g., they return `claude-sonnet-4-20250514` instead of `openhands/claude-sonnet-4-20250514`)
export const VERIFIED_OPENHANDS_MODELS = [
"claude-opus-4-6",
"claude-opus-4-5-20251101",
"claude-sonnet-4-5-20250929",
"gpt-5.2-codex",