feat: increase GPT-5 models context window to 400,000

- Updated context window from 256,000 to 400,000 for gpt-5-2025-08-07
- Updated context window from 256,000 to 400,000 for gpt-5-mini-2025-08-07
- Updated context window from 256,000 to 400,000 for gpt-5-nano-2025-08-07
- Updated context window from 256,000 to 400,000 for nectarine-alpha-new-reasoning-effort-2025-07-25

As requested by @daniel-lxs in PR #6819
This commit is contained in:
Roo Code 2025-08-07 17:55:47 +00:00
parent 4d6056ef2e
commit fe82301ffa

View file

@ -8,7 +8,7 @@ export const openAiNativeDefaultModelId: OpenAiNativeModelId = "gpt-5-2025-08-07
export const openAiNativeModels = {
"gpt-5-2025-08-07": {
maxTokens: 128000,
contextWindow: 256000,
contextWindow: 400000,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: true,
@ -18,7 +18,7 @@ export const openAiNativeModels = {
},
"gpt-5-mini-2025-08-07": {
maxTokens: 128000,
contextWindow: 256000,
contextWindow: 400000,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: true,
@ -28,7 +28,7 @@ export const openAiNativeModels = {
},
"gpt-5-nano-2025-08-07": {
maxTokens: 128000,
contextWindow: 256000,
contextWindow: 400000,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: true,
@ -38,7 +38,7 @@ export const openAiNativeModels = {
},
"nectarine-alpha-new-reasoning-effort-2025-07-25": {
maxTokens: 128000,
contextWindow: 256000,
contextWindow: 400000,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: true,