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

2239
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -53,6 +53,8 @@ redis = "^5.0.3"
onnxruntime = "<1.17"
supabase = "^2.4.3"
aioredlock = "^0.7.3"
fpdf = "^1.7.2"
pypdf = "^4.2.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"

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)