fix:修正merge带来的问题

This commit is contained in:
SengokuCola
2025-07-13 13:46:12 +08:00
parent 5fd4caf23b
commit aafa4c688b
6 changed files with 22 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ class ActionModifier:
async def _get_deactivated_actions_by_type(
self,
actions_with_info: Dict[str, Any],
actions_with_info: Dict[str, ActionInfo],
chat_content: str = "",
) -> List[tuple[str, str]]:
"""
@@ -164,7 +164,7 @@ class ActionModifier:
random.shuffle(actions_to_check)
for action_name, action_info in actions_to_check:
activation_type = action_info.get("activation_type", "")
activation_type = action_info.activation_type
if not activation_type:
activation_type = action_info.get("focus_activation_type", "")