Skip to content

Commit ea09844

Browse files
authored
Update Z.AI default model to GLM-4.7 (#90)
* update default zai model to glm-5.1 * change default model to glm-4.7 per coding plan recs
1 parent 04738ea commit ea09844

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/types/src/providers

packages/types/src/providers/zai.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ZaiApiLine } from "../provider-settings.js"
1111
// https://bigmodel.cn/pricing
1212

1313
export type InternationalZAiModelId = keyof typeof internationalZAiModels
14-
export const internationalZAiDefaultModelId: InternationalZAiModelId = "glm-4.6"
14+
export const internationalZAiDefaultModelId: InternationalZAiModelId = "glm-4.7"
1515
export const internationalZAiModels = {
1616
"glm-4.5": {
1717
maxTokens: 16_384,
@@ -229,7 +229,7 @@ export const internationalZAiModels = {
229229
} as const satisfies Record<string, ModelInfo>
230230

231231
export type MainlandZAiModelId = keyof typeof mainlandZAiModels
232-
export const mainlandZAiDefaultModelId: MainlandZAiModelId = "glm-4.6"
232+
export const mainlandZAiDefaultModelId: MainlandZAiModelId = "glm-4.7"
233233
export const mainlandZAiModels = {
234234
"glm-4.5": {
235235
maxTokens: 16_384,

0 commit comments

Comments
 (0)