Skip to content

Commit 12467b5

Browse files
committed
fix: update GLM-4.6 model configuration with correct specifications
- Updated maxTokens from 16384 to 25344 - Updated contextWindow from 128000 to 198000 - Updated test expectations to match new specifications As requested by @mmealman in issue #8752
1 parent 89a2b5c commit 12467b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/types/src/providers/fireworks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ export const fireworksModels = {
107107
"Z.ai GLM-4.5-Air with 106B total parameters and 12B active parameters. Features unified reasoning, coding, and intelligent agent capabilities.",
108108
},
109109
"accounts/fireworks/models/glm-4p6": {
110-
maxTokens: 16384,
111-
contextWindow: 128000,
110+
maxTokens: 25344,
111+
contextWindow: 198000,
112112
supportsImages: false,
113113
supportsPromptCache: false,
114114
inputPrice: 0.55,

src/api/providers/__tests__/fireworks.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ describe("FireworksHandler", () => {
252252
expect(model.id).toBe(testModelId)
253253
expect(model.info).toEqual(
254254
expect.objectContaining({
255-
maxTokens: 16384,
256-
contextWindow: 128000,
255+
maxTokens: 25344,
256+
contextWindow: 198000,
257257
supportsImages: false,
258258
supportsPromptCache: false,
259259
inputPrice: 0.55,

0 commit comments

Comments
 (0)