From b4f392465bb0229e317161a3cac09f764152a93a Mon Sep 17 00:00:00 2001 From: chengminglong <123204464@qq.com> Date: Mon, 18 Aug 2025 16:55:32 +0800 Subject: [PATCH] =?UTF-8?q?commit=20by=20Kalman.CHENG=20=E2=98=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dsLightRag/Routes/TeachingModel/api/TeachingModelController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsLightRag/Routes/TeachingModel/api/TeachingModelController.py b/dsLightRag/Routes/TeachingModel/api/TeachingModelController.py index 713c70cf..277c00f1 100644 --- a/dsLightRag/Routes/TeachingModel/api/TeachingModelController.py +++ b/dsLightRag/Routes/TeachingModel/api/TeachingModelController.py @@ -217,7 +217,7 @@ async def save_word(request: Request): if theme_object is None: return {"success": False, "message": "主题不存在!"} - filename = "【理想大模型】" + str(theme_object["theme_name"]) + "(" + str(question) + ")" + str(time.time()) + ".docx" + filename = "【理想大模型】" + str(theme_object["theme_name"]) + "(" + str(question) + ")" + str(round(time.time())) + ".docx" output_file = None try: # markdown_content 替换换行符