refactor(data): simplify datetime format

Removes the year from the datetime string included in the system prompt. This makes the prompt more concise.
This commit is contained in:
xming521
2025-07-14 17:31:54 +08:00
parent 66e7fdbeb4
commit 2a7cb5f30d
+1 -1
View File
@@ -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,