add 1s delay between cached actions (#4418)

This commit is contained in:
pedrohsdb
2026-01-08 14:35:58 -08:00
committed by GitHub
parent 51b50c61f0
commit b20ee4152a
2 changed files with 5 additions and 0 deletions

View File

@@ -211,6 +211,10 @@ class ScriptSkyvernPage(SkyvernPage):
# Auto-create screenshot artifact after execution
await self._create_screenshot_after_execution()
# Add a small buffer between cached actions to give slow pages time to settle
if settings.CACHED_ACTION_DELAY_SECONDS > 0:
await asyncio.sleep(settings.CACHED_ACTION_DELAY_SECONDS)
async def _update_action_reasoning(
self,
action_id: str,