Skip to content

Commit

Permalink
Update default openAI models
Browse files Browse the repository at this point in the history
fixed #14807

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
  • Loading branch information
JonasHelming committed Feb 2, 2025
1 parent 95f4d49 commit 600b041
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,5 @@ export class OpenAiFrontendApplicationContribution implements FrontendApplicatio
}
}

const openAIModelsWithDisabledStreaming = ['o1-preview', 'o1-mini'];
const openAIModelsSupportingDeveloperMessages = ['o1-preview', 'o1-mini'];
const openAIModelsWithDisabledStreaming = ['o1-preview', 'o1'];
const openAIModelsSupportingDeveloperMessages = ['o1', 'o1-mini', 'o3-mini', 'o1-preview', 'o3'];
2 changes: 1 addition & 1 deletion packages/ai-openai/src/browser/openai-preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const OpenAiPreferencesSchema: PreferenceSchema = {
type: 'array',
description: 'Official OpenAI models to use',
title: AI_CORE_PREFERENCES_TITLE,
default: ['gpt-4o', 'gpt-4o-2024-08-06', 'gpt-4o-2024-05-13', 'gpt-4o-mini', 'gpt-4-turbo', 'gpt-4', 'gpt-3.5-turbo', 'o1-preview', 'o1-mini'],
default: ['gpt-4o', 'gpt-4o-2024-11-20', 'gpt-4o-2024-08-06', 'gpt-4o-mini', 'o1', 'o1-mini', 'o3-mini'],
items: {
type: 'string'
}
Expand Down

0 comments on commit 600b041

Please sign in to comment.