cast action type (#1233)

This commit is contained in:
LawyZheng
2024-11-21 17:59:08 +08:00
committed by GitHub
parent 23479af942
commit df47d43176

View File

@@ -1381,7 +1381,7 @@ class WorkflowService:
)
action_type: str = json_response.get("action_type") or ""
action_type = action_type.lower()
action_type = ActionType[action_type.upper()]
prompt_template = ""
if action_type == ActionType.CLICK: