Skip to content

Automate browser based workflows with AI

fix CUA nullaction bug (#2179)

Shuchang Zhenge7b46c62a9b6
diff --git a/skyvern/webeye/actions/parse_actions.py b/skyvern/webeye/actions/parse_actions.py
index 5b7cf8dec..9a3b97dae 100644
--- a/skyvern/webeye/actions/parse_actions.py
+++ b/skyvern/webeye/actions/parse_actions.py
@@ -320,7 +320,7 @@ async def parse_cua_actions(
intention=reasoning,
)
case "screenshot":
- return NullAction(
+ action = NullAction(
reasoning=reasoning,
intention=reasoning,
)