修复autogen接口的问题
This commit is contained in:
parent
b4c7b26f63
commit
5a530df4f2
@ -539,18 +539,18 @@ def get_crazy_functions():
|
|||||||
except:
|
except:
|
||||||
print('Load function plugin failed')
|
print('Load function plugin failed')
|
||||||
|
|
||||||
try:
|
# try:
|
||||||
from crazy_functions.多智能体 import 多智能体终端
|
# from crazy_functions.多智能体 import 多智能体终端
|
||||||
function_plugins.update({
|
# function_plugins.update({
|
||||||
"多智能体终端(微软AutoGen)": {
|
# "多智能体终端(微软AutoGen)": {
|
||||||
"Group": "智能体",
|
# "Group": "智能体",
|
||||||
"Color": "stop",
|
# "Color": "stop",
|
||||||
"AsButton": True,
|
# "AsButton": True,
|
||||||
"Function": HotReload(多智能体终端)
|
# "Function": HotReload(多智能体终端)
|
||||||
}
|
# }
|
||||||
})
|
# })
|
||||||
except:
|
# except:
|
||||||
print('Load function plugin failed')
|
# print('Load function plugin failed')
|
||||||
|
|
||||||
# try:
|
# try:
|
||||||
# from crazy_functions.chatglm微调工具 import 微调数据集生成
|
# from crazy_functions.chatglm微调工具 import 微调数据集生成
|
||||||
|
@ -90,7 +90,7 @@ class PluginMultiprocessManager():
|
|||||||
for f in change_list:
|
for f in change_list:
|
||||||
res = promote_file_to_downloadzone(f)
|
res = promote_file_to_downloadzone(f)
|
||||||
file_links += f'<br/><a href="file={res}" target="_blank">{res}</a>'
|
file_links += f'<br/><a href="file={res}" target="_blank">{res}</a>'
|
||||||
yield from self.immediate_showoff_when_possible(file_path)
|
yield from self.immediate_showoff_when_possible(f)
|
||||||
|
|
||||||
self.chatbot.append(['检测到新生文档.', f'文档清单如下: {file_links}'])
|
self.chatbot.append(['检测到新生文档.', f'文档清单如下: {file_links}'])
|
||||||
yield from update_ui(chatbot=self.chatbot, history=self.history)
|
yield from update_ui(chatbot=self.chatbot, history=self.history)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user