update get info

This commit is contained in:
bridge
2025-10-12 01:41:10 +08:00
parent 42dc91aec7
commit 8088df6d2a

View File

@@ -426,7 +426,6 @@ class Avatar:
获取角色提示词信息
"""
info = self.get_info(detailed=False)
action_space = self.get_action_space_str()
# 观测范围内角色(沿用参数名保持兼容)
co_region_info = ""
@@ -443,6 +442,9 @@ class Avatar:
else:
history_info = "历史事件:无"
# 动作空间
action_space = self.get_action_space_str()
return f"{info}\n{history_info}\n{co_region_info}\n该角色的目前合法动作为:{action_space}"
def get_hover_info(self) -> list[str]: