From d3f0a77830073684dd8da25e34d5d8eb0a94ecdb Mon Sep 17 00:00:00 2001 From: DDMeaqua Date: Thu, 31 Oct 2024 11:23:06 +0800 Subject: [PATCH] chore: update Provider --- app/constant.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index d58bc3935..b8b25b7ab 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -118,7 +118,7 @@ export enum ServiceProvider { Stability = "Stability", Iflytek = "Iflytek", XAI = "XAI", - GLM = "GLM", + GLM = "ChatGLM", } // Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings @@ -142,7 +142,7 @@ export enum ModelProvider { Moonshot = "Moonshot", Iflytek = "Iflytek", XAI = "XAI", - GLM = "GLM", + GLM = "ChatGLM", } export const Stability = { @@ -525,9 +525,9 @@ export const DEFAULT_MODELS = [ available: true, sorted: seq++, provider: { - id: "glm", - providerName: "GLM", - providerType: "glm", + id: "chatglm", + providerName: "ChatGLM", + providerType: "chatglm", sorted: 12, }, })),