File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed
modules/model/provider/OpenAI Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,30 @@ import { ModelTypeEnum, type ProviderConfigType } from '../../type';
33const models : ProviderConfigType = {
44 provider : 'OpenAI' ,
55 list : [
6+ {
7+ type : ModelTypeEnum . llm ,
8+ model : 'gpt-5.1' ,
9+ maxContext : 400000 ,
10+ maxTokens : 128000 ,
11+ quoteMaxToken : 400000 ,
12+ maxTemperature : null ,
13+ responseFormatList : [ 'text' , 'json_schema' ] ,
14+ vision : true ,
15+ reasoning : false ,
16+ toolChoice : true
17+ } ,
18+ {
19+ type : ModelTypeEnum . llm ,
20+ model : 'gpt-5.1-chat-latest' ,
21+ maxContext : 128000 ,
22+ maxTokens : 16000 ,
23+ quoteMaxToken : 128000 ,
24+ maxTemperature : null ,
25+ responseFormatList : [ 'text' , 'json_schema' ] ,
26+ vision : true ,
27+ reasoning : false ,
28+ toolChoice : true
29+ } ,
630 {
731 type : ModelTypeEnum . llm ,
832 model : 'gpt-5' ,
@@ -51,9 +75,9 @@ const models: ProviderConfigType = {
5175 {
5276 type : ModelTypeEnum . llm ,
5377 model : 'gpt-5-chat' ,
54- maxContext : 400000 ,
55- maxTokens : 128000 ,
56- quoteMaxToken : 400000 ,
78+ maxContext : 128000 ,
79+ maxTokens : 16000 ,
80+ quoteMaxToken : 128000 ,
5781 maxTemperature : 1.2 ,
5882 vision : true ,
5983 reasoning : false ,
You can’t perform that action at this time.
0 commit comments