From 18993658adf10d7bee9fa0ade330e70539ee3859 Mon Sep 17 00:00:00 2001 From: openhands Date: Sat, 9 Nov 2024 15:36:00 +0000 Subject: [PATCH] Fix pr #4658: Fix issue #4653: [Bug]: AI Provider Configuration UI is showing Sonnet 20241022 twice --- frontend/src/utils/verified-models.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/utils/verified-models.ts b/frontend/src/utils/verified-models.ts index 0af4e9957783..614e78c8f4cf 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-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`) @@ -31,4 +27,3 @@ export const VERIFIED_ANTHROPIC_MODELS = [ "claude-instant-1", "claude-instant-1.2", ]; -