From dcc9326f0bf14ec2a68fc4b4338db2f70acdbf34 Mon Sep 17 00:00:00 2001 From: binary-husky Date: Thu, 18 Jan 2024 17:51:20 +0800 Subject: [PATCH] zhipuai version problem --- request_llms/bridge_zhipu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request_llms/bridge_zhipu.py b/request_llms/bridge_zhipu.py index 915a13ef..91903ad3 100644 --- a/request_llms/bridge_zhipu.py +++ b/request_llms/bridge_zhipu.py @@ -42,7 +42,7 @@ def predict(inputs, llm_kwargs, plugin_kwargs, chatbot, history=[], system_promp try: check_packages(["zhipuai"]) except: - yield from update_ui_lastest_msg(f"导入软件依赖失败。使用该模型需要额外依赖,安装方法```pip install --upgrade zhipuai```。", + yield from update_ui_lastest_msg(f"导入软件依赖失败。使用该模型需要额外依赖,安装方法```pip install zhipuai==1.0.7```。", chatbot=chatbot, history=history, delay=0) return