diff --git a/crazy_functional.py b/crazy_functional.py index c11e7cb..795bd5f 100644 --- a/crazy_functional.py +++ b/crazy_functional.py @@ -539,18 +539,18 @@ def get_crazy_functions(): except: print('Load function plugin failed') - try: - from crazy_functions.多智能体 import 多智能体终端 - function_plugins.update({ - "多智能体终端(微软AutoGen)": { - "Group": "智能体", - "Color": "stop", - "AsButton": True, - "Function": HotReload(多智能体终端) - } - }) - except: - print('Load function plugin failed') + # try: + # from crazy_functions.多智能体 import 多智能体终端 + # function_plugins.update({ + # "多智能体终端(微软AutoGen)": { + # "Group": "智能体", + # "Color": "stop", + # "AsButton": True, + # "Function": HotReload(多智能体终端) + # } + # }) + # except: + # print('Load function plugin failed') # try: # from crazy_functions.chatglm微调工具 import 微调数据集生成 diff --git a/crazy_functions/agent_fns/pipe.py b/crazy_functions/agent_fns/pipe.py index 2a0c370..0e430b4 100644 --- a/crazy_functions/agent_fns/pipe.py +++ b/crazy_functions/agent_fns/pipe.py @@ -90,7 +90,7 @@ class PluginMultiprocessManager(): for f in change_list: res = promote_file_to_downloadzone(f) file_links += f'
{res}' - yield from self.immediate_showoff_when_possible(file_path) + yield from self.immediate_showoff_when_possible(f) self.chatbot.append(['检测到新生文档.', f'文档清单如下: {file_links}']) yield from update_ui(chatbot=self.chatbot, history=self.history)