Skip to content

Commit

Permalink
Update ext ai supported llm models (#1138)
Browse files Browse the repository at this point in the history
  • Loading branch information
diksipav authored Dec 2, 2024
1 parent 36da97d commit 807e866
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions packages/vercel-ai-provider/src/edgedb-chat-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ import type { FetchFunction } from "@ai-sdk/provider-utils";
export type OpenAIModelId =
| "gpt-4o"
| "gpt-4o-mini"
| "gpt-4-turbo-preview"
| "o1-preview"
| "o1-mini"
| "gpt-4-turbo"
| "gpt-3.5-turbo"
| "gpt-4";
| "gpt-4-turbo-preview"
| "gpt-4"
| "gpt-3.5-turbo";

export type MistralModelId =
| "ministral-8b-latest"
| "mistral-large-latest"
| "pixtral-large-latest"
| "ministral-3b-latest"
| "ministral-8b-latest"
| "mistral-small-latest"
| "mistral-medium-latest" // will be deprecated "soon"
| "mistral-large-latest"
| "codestral-latest"
| "pixtral-12b-2409" // free model
| "open-mistral-nemo" // free model
Expand All @@ -22,9 +24,9 @@ export type MistralModelId =
export type AnthropicModelId =
| "claude-3-5-sonnet-latest"
| "claude-3-5-haiku-latest"
| "claude-3-haiku-20240307"
| "claude-3-opus-latest"
| "claude-3-sonnet-20240229"
| "claude-3-opus-20240229";
| "claude-3-haiku-20240307";

export type EdgeDBChatModelId =
| OpenAIModelId
Expand Down

0 comments on commit 807e866

Please sign in to comment.