Skip to content

Commit b27fde7

Browse files
committed
Add 'gpt-oss-120b' to predefined models
1 parent 3de29a4 commit b27fde7

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

packages/types/src/providers/io-intelligence.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export type IOIntelligenceModelId =
44
| "deepseek-ai/DeepSeek-R1-0528"
55
| "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8"
66
| "Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar"
7+
| "openai/gpt-oss-120b"
78

89
export const ioIntelligenceDefaultModelId: IOIntelligenceModelId = "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8"
910

@@ -31,4 +32,11 @@ export const ioIntelligenceModels = {
3132
supportsPromptCache: false,
3233
description: "Qwen3 Coder 480B specialized for coding",
3334
},
35+
"openai/gpt-oss-120b": {
36+
maxTokens: 8192,
37+
contextWindow: 131072,
38+
supportsImages: false,
39+
supportsPromptCache: false,
40+
description: "OpenAI GPT-OSS 120B model",
41+
},
3442
} as const satisfies Record<string, ModelInfo>

src/api/providers/__tests__/io-intelligence.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ vi.mock("../fetchers/io-intelligence", () => ({
4747
supportsPromptCache: false,
4848
description: "Qwen3 Coder 480B specialized for coding",
4949
},
50+
"openai/gpt-oss-120b": {
51+
maxTokens: 8192,
52+
contextWindow: 131072,
53+
supportsImages: false,
54+
supportsPromptCache: false,
55+
description: "OpenAI GPT-OSS 120B model",
56+
},
5057
})),
5158
}))
5259

src/api/providers/fetchers/io-intelligence.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const MODEL_CONTEXT_LENGTHS: Record<string, number> = {
6363
"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8": 430000,
6464
"deepseek-ai/DeepSeek-R1-0528": 128000,
6565
"Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar": 106000,
66+
"openai/gpt-oss-120b": 131072,
6667
}
6768

6869
/**

0 commit comments

Comments
 (0)