Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: app config zhipu chatglm_std model, but it still use chatglm_lit… (#1377)

wayne.wang52ebffa85773
diff --git a/api/core/model_providers/models/llm/zhipuai_model.py b/api/core/model_providers/models/llm/zhipuai_model.py
index 7f32c1dc70b..f94eb4e7298 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,