feat: renew models (#6934)

This commit is contained in:
darkskygit
2024-05-15 09:13:05 +00:00
parent a61ded3f25
commit 7e7a4120aa
4 changed files with 52 additions and 28 deletions
@@ -38,6 +38,7 @@ export class OpenAIProvider
readonly availableModels = [
// text to text
'gpt-4o',
'gpt-4-vision-preview',
'gpt-4-turbo-preview',
'gpt-3.5-turbo',
@@ -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',