refactor world desc

This commit is contained in:
bridge
2026-01-03 21:25:24 +08:00
parent f7a4fb23c8
commit e2d03b587d
11 changed files with 47 additions and 16 deletions

View File

@@ -33,10 +33,12 @@ async def make_decision(
# 3. 调用 AI
template_path = CONFIG.paths.templates / "single_choice.txt"
world_info = avatar.world.static_info
result = await call_llm_with_task_name(
"single_choice",
template_path,
infos={
"world_info": world_info,
"avatar_infos": avatar_infos,
"choices": full_choices_str
}