Unverified Commit 52ebffa8 authored by wayne.wang's avatar wayne.wang Committed by GitHub

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

Co-authored-by: 's avatarwayne.wang <wayne.wang@beibei.com>
parent d14f1586
...@@ -16,6 +16,7 @@ class ZhipuAIModel(BaseLLM): ...@@ -16,6 +16,7 @@ class ZhipuAIModel(BaseLLM):
def _init_client(self) -> Any: def _init_client(self) -> Any:
provider_model_kwargs = self._to_model_kwargs_input(self.model_rules, self.model_kwargs) provider_model_kwargs = self._to_model_kwargs_input(self.model_rules, self.model_kwargs)
return ZhipuAIChatLLM( return ZhipuAIChatLLM(
model=self.name,
streaming=self.streaming, streaming=self.streaming,
callbacks=self.callbacks, callbacks=self.callbacks,
**self.credentials, **self.credentials,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment