镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-07 15:06:48 +00:00
fix unicode bug
这个提交包含在:
@@ -47,7 +47,8 @@ def write_results_to_file(history, file_name=None):
|
|||||||
"""
|
"""
|
||||||
import os, time
|
import os, time
|
||||||
if file_name is None:
|
if file_name is None:
|
||||||
file_name = time.strftime("chatGPT分析报告%Y-%m-%d-%H-%M-%S", time.localtime()) + '.md'
|
# file_name = time.strftime("chatGPT分析报告%Y-%m-%d-%H-%M-%S", time.localtime()) + '.md'
|
||||||
|
file_name = 'chatGPT分析报告' + time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime()) + '.md'
|
||||||
os.makedirs('./gpt_log/', exist_ok=True)
|
os.makedirs('./gpt_log/', exist_ok=True)
|
||||||
with open(f'./gpt_log/{file_name}', 'w', encoding = 'utf8') as f:
|
with open(f'./gpt_log/{file_name}', 'w', encoding = 'utf8') as f:
|
||||||
f.write('# chatGPT 分析报告\n')
|
f.write('# chatGPT 分析报告\n')
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户