π OpenHands: AI-Driven Development
chore(cli): make sonnet first in openhands provider model choice (#9719)
Xingyao Wang9a3bf0f2aa56
diff --git a/frontend/src/utils/verified-models.ts b/frontend/src/utils/verified-models.tsindex 28c5d747fa..16afbe89d8 100644--- a/frontend/src/utils/verified-models.ts+++ b/frontend/src/utils/verified-models.ts@@ -49,9 +49,9 @@ export const VERIFIED_ANTHROPIC_MODELS = [// LiteLLM does not return the compatible Mistral models with the provider, so we list them here to set them ourselves// (e.g., they return `devstral-small-2505` instead of `mistral/devstral-small-2505`)export const VERIFIED_MISTRAL_MODELS = [- "devstral-small-2505","devstral-small-2507","devstral-medium-2507",+ "devstral-small-2505",];// LiteLLM does not return the compatible OpenHands models with the provider, so we list them here to set them ourselves@@ -61,9 +61,9 @@ export const VERIFIED_OPENHANDS_MODELS = ["claude-opus-4-20250514","gemini-2.5-pro","o4-mini",- "devstral-small-2505","devstral-small-2507","devstral-medium-2507",+ "devstral-small-2505",];// Default model for OpenHands providerdiff --git a/openhands/cli/utils.py b/openhands/cli/utils.pyindex 7093cf45b6..6e7bef4e85 100644--- a/openhands/cli/utils.py+++ b/openhands/cli/utils.py@@ -182,11 +182,11 @@ VERIFIED_MISTRAL_MODELS = []VERIFIED_OPENHANDS_MODELS = [+ 'claude-sonnet-4-20250514','claude-opus-4-20250514','devstral-small-2507','devstral-medium-2507','o4-mini',- 'claude-sonnet-4-20250514','gemini-2.5-pro',]