更新时间戳显示模式,在消息回复和规划器规划时:消息将显示完整日期 (如: 2024-01-15 14:30:22)
This commit is contained in:
@@ -35,7 +35,6 @@ def init_prompt():
|
||||
{mood_block}
|
||||
{time_block}
|
||||
{identity_block}
|
||||
你的核心任务是智能判断消息是否真正需要你的回应,避免强行插话或无意义的参与。只有当消息确实针对你或你能提供有价值的回应时才参与对话。
|
||||
|
||||
{custom_prompt_block}
|
||||
{chat_context_description},以下是具体的聊天内容
|
||||
@@ -273,7 +272,7 @@ class ActionPlanner:
|
||||
|
||||
chat_content_block, message_id_list = build_readable_messages_with_id(
|
||||
messages=message_list_before_now,
|
||||
timestamp_mode="normal_no_YMD",
|
||||
timestamp_mode="normal",
|
||||
read_mark=self.last_obs_time_mark,
|
||||
truncate=True,
|
||||
show_actions=True,
|
||||
|
||||
@@ -656,7 +656,7 @@ class DefaultReplyer:
|
||||
background_dialogue_prompt_str = build_readable_messages(
|
||||
latest_25_msgs,
|
||||
replace_bot_name=True,
|
||||
timestamp_mode="normal_no_YMD",
|
||||
timestamp_mode="normal",
|
||||
truncate=True,
|
||||
)
|
||||
background_dialogue_prompt = f"这是其他用户的发言:\n{background_dialogue_prompt_str}"
|
||||
@@ -670,7 +670,7 @@ class DefaultReplyer:
|
||||
core_dialogue_list,
|
||||
replace_bot_name=True,
|
||||
merge_messages=False,
|
||||
timestamp_mode="normal_no_YMD",
|
||||
timestamp_mode="normal",
|
||||
read_mark=0.0,
|
||||
truncate=True,
|
||||
show_actions=True,
|
||||
@@ -953,7 +953,7 @@ class DefaultReplyer:
|
||||
unified_message_list,
|
||||
replace_bot_name=True,
|
||||
merge_messages=False,
|
||||
timestamp_mode="normal_no_YMD",
|
||||
timestamp_mode="normal",
|
||||
read_mark=0.0,
|
||||
truncate=True,
|
||||
show_actions=True,
|
||||
|
||||
Reference in New Issue
Block a user