Skip to content

Commit

Permalink
zhipuai version problem
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jan 18, 2024
1 parent 94fc396 commit dcc9326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request_llms/bridge_zhipu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dcc9326

Please sign in to comment.