feat: renew models (#6926)

This commit is contained in:
darkskygit
2024-05-14 08:54:57 +00:00
parent 419f1b34b3
commit 5bf9351be4
4 changed files with 43 additions and 28 deletions

View File

@@ -37,6 +37,7 @@ export class OpenAIProvider
readonly availableModels = [
// text to text
'gpt-4o',
'gpt-4-vision-preview',
'gpt-4-turbo-preview',
'gpt-3.5-turbo',

View File

@@ -20,6 +20,7 @@ export interface CopilotConfig {
export enum AvailableModels {
// text to text
Gpt4Omni = 'gpt-4o',
Gpt4VisionPreview = 'gpt-4-vision-preview',
Gpt4TurboPreview = 'gpt-4-turbo-preview',
Gpt35Turbo = 'gpt-3.5-turbo',