更新提示

This commit is contained in:
binary-husky
2023-11-11 23:54:24 +08:00
parent eeb70e966c
commit 899bbe9229
4 changed files with 1 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ def CatchException(f):
chatbot_with_cookie.clear()
chatbot_with_cookie.append(["插件调度异常", "异常原因"])
chatbot_with_cookie[-1] = (chatbot_with_cookie[-1][0],
f"[Local Message] 实验性函数调用出错: \n\n{tb_str} \n\n当前代理可用性: \n\n{check_proxy(proxies)}")
f"[Local Message] 插件调用出错: \n\n{tb_str} \n\n当前代理可用性: \n\n{check_proxy(proxies)}")
yield from update_ui(chatbot=chatbot_with_cookie, history=history, msg=f'异常 {e}') # 刷新界面
return decorated