From f90e0506beaf1be51c4391447219115d102667eb Mon Sep 17 00:00:00 2001 From: lawyzheng Date: Thu, 21 Nov 2024 17:55:49 +0800 Subject: [PATCH] cast action type --- skyvern/forge/sdk/workflow/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/forge/sdk/workflow/service.py b/skyvern/forge/sdk/workflow/service.py index 48506a2554..bad0f3b4cf 100644 --- a/skyvern/forge/sdk/workflow/service.py +++ b/skyvern/forge/sdk/workflow/service.py @@ -1381,7 +1381,7 @@ async def block_yaml_to_block( ) 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: