镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-08 23:46:48 +00:00
隐藏历史对话绝对路径
这个提交包含在:
@@ -30,7 +30,7 @@ def write_chat_to_file(chatbot, history=None, file_name=None):
|
|||||||
f.write("\n>>>" + h)
|
f.write("\n>>>" + h)
|
||||||
f.write('</code>')
|
f.write('</code>')
|
||||||
promote_file_to_downloadzone(fp, rename_file=file_name, chatbot=chatbot)
|
promote_file_to_downloadzone(fp, rename_file=file_name, chatbot=chatbot)
|
||||||
return '对话历史写入:' + os.path.abspath(fp)
|
return '对话历史写入:' + fp
|
||||||
|
|
||||||
def gen_file_preview(file_name):
|
def gen_file_preview(file_name):
|
||||||
try:
|
try:
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户