From 899bbe9229626d0f4e7bc41193f93c73a9ef167d Mon Sep 17 00:00:00 2001 From: binary-husky Date: Sat, 11 Nov 2023 23:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/translate_english.json | 1 - docs/translate_japanese.json | 1 - docs/translate_traditionalchinese.json | 1 - toolbox.py | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/translate_english.json b/docs/translate_english.json index 44361f0..3cdaf20 100644 --- a/docs/translate_english.json +++ b/docs/translate_english.json @@ -430,7 +430,6 @@ "并显示到聊天当中": "And display it in the chat", "插件调度异常": "Plugin scheduling exception", "异常原因": "Exception reason", - "实验性函数调用出错": "Experimental function call error", "当前代理可用性": "Current proxy availability", "异常": "Exception", "将文本按照段落分隔符分割开": "Split the text into paragraphs according to the paragraph separator", diff --git a/docs/translate_japanese.json b/docs/translate_japanese.json index 29ebcc9..2f80792 100644 --- a/docs/translate_japanese.json +++ b/docs/translate_japanese.json @@ -352,7 +352,6 @@ "感谢热情的": "熱心な感謝", "是本次输出": "今回の出力です", "协议": "プロトコル", - "实验性函数调用出错": "実験的な関数呼び出しエラー", "例如需要翻译的一段话": "翻訳が必要な例文", "本地文件地址": "ローカルファイルアドレス", "更好的UI视觉效果": "より良いUI視覚効果", diff --git a/docs/translate_traditionalchinese.json b/docs/translate_traditionalchinese.json index b75cbdb..9ca7cba 100644 --- a/docs/translate_traditionalchinese.json +++ b/docs/translate_traditionalchinese.json @@ -780,7 +780,6 @@ "检测到程序终止": "偵測到程式終止", "对整个Latex项目进行润色": "對整個Latex專案進行潤色", "方法则会被调用": "方法則會被調用", - "实验性函数调用出错": "實驗性函數調用出錯", "把完整输入-输出结果显示在聊天框": "把完整輸入-輸出結果顯示在聊天框", "本地文件预览": "本地檔案預覽", "接下来请你逐文件分析下面的论文文件": "接下來請你逐檔案分析下面的論文檔案", diff --git a/toolbox.py b/toolbox.py index a5425c0..293419c 100644 --- a/toolbox.py +++ b/toolbox.py @@ -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