Skip to content

Commit 6f82b77

Browse files
authored
gpt5.1 (#297)
1 parent e8863f4 commit 6f82b77

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

modules/model/provider/OpenAI/index.ts

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@ import { ModelTypeEnum, type ProviderConfigType } from '../../type';
33
const 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,

0 commit comments

Comments
 (0)