mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 13:26:16 +03:00
commit
a57238a371
@ -7,17 +7,21 @@ export enum ModelKind {
|
||||
Ollama = 'ollama'
|
||||
}
|
||||
|
||||
// https://platform.openai.com/docs/models
|
||||
export enum OpenAIModelName {
|
||||
GPT35Turbo = 'gpt-3.5-turbo',
|
||||
GPT4 = 'gpt-4',
|
||||
GPT4Turbo = 'gpt-4-turbo',
|
||||
GPT4o = 'gpt-4o'
|
||||
GPT4o = 'gpt-4o',
|
||||
GPT4oMini = 'gpt-4o-mini'
|
||||
}
|
||||
|
||||
// https://docs.anthropic.com/en/docs/about-claude/models
|
||||
export enum AnthropicModelName {
|
||||
Opus = 'claude-3-opus-20240229',
|
||||
Sonnet = 'claude-3-sonnet-20240229',
|
||||
Haiku = 'claude-3-haiku-20240307'
|
||||
Haiku = 'claude-3-haiku-20240307',
|
||||
Sonnet35 = 'claude-3-5-sonnet-20240620'
|
||||
}
|
||||
|
||||
export enum MessageRole {
|
||||
|
@ -109,8 +109,12 @@
|
||||
value: OpenAIModelName.GPT4Turbo
|
||||
},
|
||||
{
|
||||
label: 'GPT 4 Omni',
|
||||
label: 'GPT 4o',
|
||||
value: OpenAIModelName.GPT4o
|
||||
},
|
||||
{
|
||||
label: 'GPT 4o mini',
|
||||
value: OpenAIModelName.GPT4oMini
|
||||
}
|
||||
];
|
||||
|
||||
@ -126,6 +130,10 @@
|
||||
{
|
||||
label: 'Haiku',
|
||||
value: AnthropicModelName.Haiku
|
||||
},
|
||||
{
|
||||
label: 'Sonnet 3.5',
|
||||
value: AnthropicModelName.Sonnet35
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user