Skip to content

Commit

Permalink
Fix issue #4653: '[Bug]: AI Provider Configuration UI is showing Sonn…
Browse files Browse the repository at this point in the history
…et 20241022 twice'
  • Loading branch information
openhands-agent committed Oct 31, 2024
1 parent ce6939f commit c9bdd22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/utils/verified-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
export const VERIFIED_PROVIDERS = ["openai", "azure", "anthropic"];
export const VERIFIED_MODELS = [
"gpt-4o",
"claude-3-5-sonnet-20240620",
"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`)
export const VERIFIED_OPENAI_MODELS = [
Expand All @@ -31,3 +31,4 @@ export const VERIFIED_ANTHROPIC_MODELS = [
"claude-instant-1",
"claude-instant-1.2",
];

0 comments on commit c9bdd22

Please sign in to comment.