π OpenHands: AI-Driven Development
fix: remove duplicate claude-3-5-sonnet-20241022 model from VERIFIED_MODELS (#4871)
Xingyao Wangd8ab0208bae9
diff --git a/frontend/src/utils/verified-models.ts b/frontend/src/utils/verified-models.tsindex 4733fa9bcd..f2643a526a 100644--- a/frontend/src/utils/verified-models.ts+++ b/frontend/src/utils/verified-models.ts@@ -1,10 +1,6 @@// Here are the list of verified models and providers that we know work well with OpenHands.export const VERIFIED_PROVIDERS = ["openai", "azure", "anthropic"];-export const VERIFIED_MODELS = [- "gpt-4o",- "claude-3-5-sonnet-20240620",- "claude-3-5-sonnet-20241022",-];+export const VERIFIED_MODELS = ["gpt-4o", "claude-3-5-sonnet-20241022"];// LiteLLM does not return OpenAI models with the provider, so we list them here to set them ourselves for consistency// (e.g., they return `gpt-4o` instead of `openai/gpt-4o`)@@ -23,11 +19,8 @@ export const VERIFIED_OPENAI_MODELS = [export const VERIFIED_ANTHROPIC_MODELS = ["claude-2","claude-2.1",- "claude-3-5-sonnet-20241022","claude-3-5-sonnet-20240620","claude-3-haiku-20240307","claude-3-opus-20240229","claude-3-sonnet-20240229",- "claude-instant-1",- "claude-instant-1.2",];