From 2a7cb5f30d2be378a84d064b5c41d05f165018c7 Mon Sep 17 00:00:00 2001 From: xming521 <1223398803@qq.com> Date: Mon, 14 Jul 2025 17:31:54 +0800 Subject: [PATCH] refactor(data): simplify datetime format Removes the year from the datetime string included in the system prompt. This makes the prompt more concise. --- weclone/data/qa_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weclone/data/qa_generator.py b/weclone/data/qa_generator.py index 4b7fce3..8f19caa 100644 --- a/weclone/data/qa_generator.py +++ b/weclone/data/qa_generator.py @@ -282,7 +282,7 @@ class DataProcessor: system_content = self.system_prompt if self.c.add_time: - system_content += f" Current datetime: {time_stamp.strftime('%Y-%m-%d %H:%M:%S')}" + system_content += f" Current datetime: {time_stamp.strftime('%m-%d %H:%M:%S')}" qa_pair = self.QaPair( id=qa_id,