Skip to content

Commit d3f0a77

Browse files
committed
chore: update Provider
1 parent d357b45 commit d3f0a77

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/constant.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export enum ServiceProvider {
118118
Stability = "Stability",
119119
Iflytek = "Iflytek",
120120
XAI = "XAI",
121-
GLM = "GLM",
121+
GLM = "ChatGLM",
122122
}
123123

124124
// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
@@ -142,7 +142,7 @@ export enum ModelProvider {
142142
Moonshot = "Moonshot",
143143
Iflytek = "Iflytek",
144144
XAI = "XAI",
145-
GLM = "GLM",
145+
GLM = "ChatGLM",
146146
}
147147

148148
export const Stability = {
@@ -525,9 +525,9 @@ export const DEFAULT_MODELS = [
525525
available: true,
526526
sorted: seq++,
527527
provider: {
528-
id: "glm",
529-
providerName: "GLM",
530-
providerType: "glm",
528+
id: "chatglm",
529+
providerName: "ChatGLM",
530+
providerType: "chatglm",
531531
sorted: 12,
532532
},
533533
})),

0 commit comments

Comments
 (0)