better:优化prompt中时间的内容

This commit is contained in:
SengokuCola
2025-06-02 18:19:16 +08:00
parent a45c626b13
commit d957aef202
6 changed files with 21 additions and 118 deletions

View File

@@ -420,8 +420,8 @@ async def build_readable_messages(
timestamp_mode,
)
readable_read_mark = translate_timestamp_to_human_readable(read_mark, mode=timestamp_mode)
read_mark_line = f"\n--- 以上消息是你已经思考过的内容已读 (标记时间: {readable_read_mark}) ---\n--- 请关注以下未读的新消息---\n"
# readable_read_mark = translate_timestamp_to_human_readable(read_mark, mode=timestamp_mode)
read_mark_line = "\n--- 以上消息是你已经看过---\n--- 请关注以下未读的新消息---\n"
# 组合结果,确保空部分不引入多余的标记或换行
if formatted_before and formatted_after: