mirror of
https://github.com/xming521/WeClone.git
synced 2026-08-28 18:07:28 +08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user