diff --git a/crazy_functions/对话历史存档.py b/crazy_functions/对话历史存档.py index 99bce3d..f89faed 100644 --- a/crazy_functions/对话历史存档.py +++ b/crazy_functions/对话历史存档.py @@ -30,7 +30,7 @@ def write_chat_to_file(chatbot, history=None, file_name=None): f.write("\n>>>" + h) f.write('') promote_file_to_downloadzone(fp, rename_file=file_name, chatbot=chatbot) - return '对话历史写入:' + os.path.abspath(fp) + return '对话历史写入:' + fp def gen_file_preview(file_name): try: