update ai.txt

This commit is contained in:
bridge
2025-11-22 01:41:34 +08:00
parent fb4d70a8ee
commit 077cb5978f
3 changed files with 4 additions and 5 deletions

View File

@@ -77,6 +77,7 @@ def serialize_events_for_client(events: List[Event]) -> List[dict]:
year = None
try:
month_obj = month_stamp.get_month()
month = month_obj.value
except Exception:
month = None

View File

@@ -10,11 +10,9 @@
格式为:
{{
AvatarName: {{
"thinking": ..., // 简单思考应该怎么决策
"avatar_thinking": ... // 从角色角度,以第一人称视角,描述想法
"short_term_objective": ..., // 角色接下来一段时间的短期目标
// 基于short_term_objective和角色的长期目标如有一次性决定未来的3~8个动作按顺序执行
"action_name_params_pairs": list[Tuple[action_name, action_params]],
"avatar_thinking": ... // 从角色角度以第一人称视角基于action_name_params_pairs描述想法
"action_name_params_pairs": list[Tuple[action_name, action_params]] // 一次性决定未来的3~8个动作按顺序执行
}}
}}

View File

@@ -29,7 +29,7 @@ function formatEventDate(event: { year?: number; month?: number; monthStamp?: nu
}
if (typeof event.monthStamp === 'number') {
const year = Math.floor(event.monthStamp / 12)
const month = event.monthStamp % 12 || 12
const month = (event.monthStamp % 12) + 1
return `${year}${month}`
}
return '未知'