Skip to content

Commit be6b0ac

Browse files
committed
Adds o4-mini & o3 models (#4235)
1 parent b720766 commit be6b0ac

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99
### Added
1010

1111
- Adds OpenRouter support for GitLens' AI features ([#3906](https://github.com/gitkraken/vscode-gitlens/issues/3906))
12-
- Adds OpenAI GPT-4.1 models for GitLens' AI features ([#4235](https://github.com/gitkraken/vscode-gitlens/issues/4235))
12+
- Adds OpenAI GPT-4.1, GPT-4.1 mini, GPT-4.1 nano, o4 mini, and o3 models for GitLens' AI features ([#4235](https://github.com/gitkraken/vscode-gitlens/issues/4235))
1313
- Adds _Open File at Revision from Remote_ command to open the specific file revision from a remote file URL
1414

1515
### Changed

src/plus/ai/openaiProvider.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,36 @@ const models: OpenAIModel[] = [
4444
provider: provider,
4545
hidden: true,
4646
},
47+
{
48+
id: 'o4-mini',
49+
name: 'o4 mini',
50+
maxTokens: { input: 200000, output: 100000 },
51+
provider: provider,
52+
temperature: null,
53+
},
54+
{
55+
id: 'o4-mini-2025-04-16',
56+
name: 'o4 mini (2025-04-16)',
57+
maxTokens: { input: 200000, output: 100000 },
58+
provider: provider,
59+
temperature: null,
60+
hidden: true,
61+
},
62+
{
63+
id: 'o3',
64+
name: 'o3',
65+
maxTokens: { input: 200000, output: 100000 },
66+
provider: provider,
67+
temperature: null,
68+
},
69+
{
70+
id: 'o3-2025-04-16',
71+
name: 'o3 (2025-04-16)',
72+
maxTokens: { input: 200000, output: 100000 },
73+
provider: provider,
74+
temperature: null,
75+
hidden: true,
76+
},
4777
{
4878
id: 'o3-mini',
4979
name: 'o3 mini',

0 commit comments

Comments
 (0)