From 52ebffa85773d3c689b6ac6ac0925a59b949d004 Mon Sep 17 00:00:00 2001 From: "wayne.wang" Date: Wed, 18 Oct 2023 18:07:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20app=20config=20zhipu=20chatglm=5Fstd=20m?= =?UTF-8?q?odel,=20but=20it=20still=20use=20chatglm=5Flit=E2=80=A6=20(#137?= =?UTF-8?q?7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: wayne.wang --- api/core/model_providers/models/llm/zhipuai_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/core/model_providers/models/llm/zhipuai_model.py b/api/core/model_providers/models/llm/zhipuai_model.py index 7f32c1dc70..f94eb4e729 100644 --- a/api/core/model_providers/models/llm/zhipuai_model.py +++ b/api/core/model_providers/models/llm/zhipuai_model.py @@ -16,6 +16,7 @@ class ZhipuAIModel(BaseLLM): def _init_client(self) -> Any: provider_model_kwargs = self._to_model_kwargs_input(self.model_rules, self.model_kwargs) return ZhipuAIChatLLM( + model=self.name, streaming=self.streaming, callbacks=self.callbacks, **self.credentials,