feat;现在只需要activation_type字段

This commit is contained in:
SengokuCola
2025-07-12 23:34:52 +08:00
parent 6f1add930b
commit b74376387a
5 changed files with 7 additions and 9 deletions

View File

@@ -171,7 +171,7 @@ class ActionPlanner:
if action == "no_action":
reasoning = "normal决定不使用额外动作"
elif action not in current_available_actions:
elif action != "no_reply" and action != "reply" and action not in current_available_actions:
logger.warning(
f"{self.log_prefix}LLM 返回了当前不可用或无效的动作: '{action}' (可用: {list(current_available_actions.keys())}),将强制使用 'no_reply'"
)