CUA feature - skyvern answers CUA questions and makes decision if being asked to (#2163)

This commit is contained in:
Shuchang Zheng
2025-04-16 00:56:50 -07:00
committed by GitHub
parent 1386ac4780
commit dd5c0f2e9d
4 changed files with 101 additions and 44 deletions

View File

@@ -317,6 +317,11 @@ async def parse_cua_actions(
reasoning=reasoning,
intention=reasoning,
)
case "screenshot":
return NullAction(
reasoning=reasoning,
intention=reasoning,
)
case _:
raise ValueError(f"Unsupported action type: {action_type}")
action.organization_id = task.organization_id