Update url load timeout workflows (#286)

This commit is contained in:
Kerem Yilmaz
2024-05-08 21:29:05 -07:00
committed by GitHub
parent bf55bf8314
commit a51a20436f
3 changed files with 1111 additions and 1133 deletions

View File

@@ -14,6 +14,7 @@ import filetype
import structlog
from pydantic import BaseModel, Field
from skyvern.config import settings
from skyvern.exceptions import (
ContextParameterValueNotFound,
MissingBrowserStatePage,
@@ -215,7 +216,7 @@ class TaskBlock(Block):
)
if self.url:
await browser_state.page.goto(self.url)
await browser_state.page.goto(self.url, timeout=settings.BROWSER_LOADING_TIMEOUT_MS)
try:
await app.agent.execute_step(organization=organization, task=task, step=step, workflow_run=workflow_run)