File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +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 ) )
1213- Adds _ Open File at Revision from Remote_ command to open the specific file revision from a remote file URL
1314
1415### Changed
Original file line number Diff line number Diff line change @@ -5,6 +5,45 @@ import { OpenAICompatibleProvider } from './openAICompatibleProvider';
55
66type OpenAIModel = AIModel < typeof provider . id > ;
77const models : OpenAIModel [ ] = [
8+ {
9+ id : 'gpt-4.1' ,
10+ name : 'GPT-4.1' ,
11+ maxTokens : { input : 1047576 , output : 32768 } ,
12+ provider : provider ,
13+ } ,
14+ {
15+ id : 'gpt-4.1-2025-04-14' ,
16+ name : 'GPT-4.1 (2025-04-14)' ,
17+ maxTokens : { input : 1047576 , output : 32768 } ,
18+ provider : provider ,
19+ hidden : true ,
20+ } ,
21+ {
22+ id : 'gpt-4.1-mini' ,
23+ name : 'GPT-4.1 mini' ,
24+ maxTokens : { input : 1047576 , output : 32768 } ,
25+ provider : provider ,
26+ } ,
27+ {
28+ id : 'gpt-4.1-mini-2025-04-14' ,
29+ name : 'GPT-4.1 mini (2025-04-14)' ,
30+ maxTokens : { input : 1047576 , output : 32768 } ,
31+ provider : provider ,
32+ hidden : true ,
33+ } ,
34+ {
35+ id : 'gpt-4.1-nano' ,
36+ name : 'GPT-4.1 nano' ,
37+ maxTokens : { input : 1047576 , output : 32768 } ,
38+ provider : provider ,
39+ } ,
40+ {
41+ id : 'gpt-4.1-nano-2025-04-14' ,
42+ name : 'GPT-4.1 nano (2025-04-14)' ,
43+ maxTokens : { input : 1047576 , output : 32768 } ,
44+ provider : provider ,
45+ hidden : true ,
46+ } ,
847 {
948 id : 'o3-mini' ,
1049 name : 'o3 mini' ,
You can’t perform that action at this time.
0 commit comments