shu/fallback to skyvern actions when cua returns no action (#2141)

This commit is contained in:
Shuchang Zheng
2025-04-12 20:55:38 -07:00
committed by GitHub
parent e8efcc0bd7
commit db7f1abeab
5 changed files with 72 additions and 14 deletions

View File

@@ -1319,7 +1319,7 @@ class ForgeAgent:
incremental_cached_tokens=cached_tokens if cached_tokens > 0 else None,
)
return parse_cua_actions(task, step, current_response), current_response
return await parse_cua_actions(task, step, current_response), current_response
@staticmethod
async def complete_verify(page: Page, scraped_page: ScrapedPage, task: Task, step: Step) -> CompleteVerifyResult: