From 866a16ec99e68223a71428e0a8b36fbf0b3bb130 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Wed, 12 Feb 2025 20:09:32 +0800 Subject: [PATCH] When replaying cached actions, ignore input_text action with empty text (#1763) --- skyvern/webeye/actions/caching.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skyvern/webeye/actions/caching.py b/skyvern/webeye/actions/caching.py index 292c2d3c..ce0ceeb2 100644 --- a/skyvern/webeye/actions/caching.py +++ b/skyvern/webeye/actions/caching.py @@ -213,6 +213,8 @@ async def personalize_action( if action.action_type == ActionType.INPUT_TEXT: action.text = answer + if not answer: + return [] elif action.action_type == ActionType.UPLOAD_FILE: action.file_url = answer elif action.action_type == ActionType.CLICK: