Merge pull request #2 from vidluther/add-gpt4o-model-support

add-gpt4o-model-support
This commit is contained in:
Vid Luther 2024-05-16 09:33:29 -05:00 committed by GitHub
commit 3842f352bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 1 deletions

View File

@ -7,7 +7,8 @@ export enum ModelKind {
export enum OpenAIModelName { export enum OpenAIModelName {
GPT35Turbo = 'gpt-3.5-turbo', GPT35Turbo = 'gpt-3.5-turbo',
GPT4 = 'gpt-4', GPT4 = 'gpt-4',
GPT4Turbo = 'gpt-4-turbo-preview' GPT4Turbo = 'gpt-4-turbo',
GPT4o = 'gpt-4o'
} }
export enum AnthropicModelName { export enum AnthropicModelName {

View File

@ -91,6 +91,10 @@
{ {
name: 'GPT 4 Turbo', name: 'GPT 4 Turbo',
value: OpenAIModelName.GPT4Turbo value: OpenAIModelName.GPT4Turbo
},
{
name: 'GPT 4 Omni',
value: OpenAIModelName.GPT4o
} }
]; ];

View File

@ -100,6 +100,10 @@
{ {
name: 'GPT 4 Turbo', name: 'GPT 4 Turbo',
value: OpenAIModelName.GPT4Turbo value: OpenAIModelName.GPT4Turbo
},
{
name: 'GPT 4 Omni',
value: OpenAIModelName.GPT4o
} }
]; ];