diff --git a/common/model-ratio.go b/common/model-ratio.go index bbdfeb59..8f4be8c3 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -50,7 +50,6 @@ var ModelRatio = map[string]float64{ "Embedding-V1": 0.1429, // ¥0.002 / 1k tokens "PaLM-2": 1, "chatglm_turbo": 0.3572, // ¥0.005 / 1k tokens - "characterglm": 0.75, // ¥0.015 / 1k tokens "chatglm_pro": 0.7143, // ¥0.01 / 1k tokens "chatglm_std": 0.3572, // ¥0.005 / 1k tokens "chatglm_lite": 0.1429, // ¥0.002 / 1k tokens diff --git a/controller/model.go b/controller/model.go index 2da828f7..2a76910e 100644 --- a/controller/model.go +++ b/controller/model.go @@ -333,15 +333,6 @@ func init() { Root: "PaLM-2", Parent: nil, }, - { - Id: "characterglm", - Object: "model", - Created: 1677649963, - OwnedBy: "zhipu", - Permission: permission, - Root: "characterglm", - Parent: nil, - }, { Id: "chatglm_turbo", Object: "model", diff --git a/web/src/pages/Channel/EditChannel.js b/web/src/pages/Channel/EditChannel.js index 0281bf71..654a5d51 100644 --- a/web/src/pages/Channel/EditChannel.js +++ b/web/src/pages/Channel/EditChannel.js @@ -72,7 +72,7 @@ const EditChannel = () => { localModels = ['qwen-turbo', 'qwen-plus', 'text-embedding-v1']; break; case 16: - localModels = ['characterglm', 'chatglm_turbo', 'chatglm_pro', 'chatglm_std', 'chatglm_lite']; + localModels = ['chatglm_turbo', 'chatglm_pro', 'chatglm_std', 'chatglm_lite']; break; case 18: localModels = ['SparkDesk'];