From 0124764b6e89d431b9f358398013bf4d5ed877ed Mon Sep 17 00:00:00 2001 From: Kerem Yilmaz Date: Sun, 31 Mar 2024 02:13:38 -0700 Subject: [PATCH] Increase max num screenshots to 10 since some websites are longer (#139) --- skyvern/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/config.py b/skyvern/config.py index ecfc5114..9c7138b4 100644 --- a/skyvern/config.py +++ b/skyvern/config.py @@ -15,7 +15,7 @@ class Settings(BaseSettings): BROWSER_ACTION_TIMEOUT_MS: int = 5000 BROWSER_SCREENSHOT_TIMEOUT_MS: int = 10000 MAX_STEPS_PER_RUN: int = 75 - MAX_NUM_SCREENSHOTS: int = 6 + MAX_NUM_SCREENSHOTS: int = 10 # Ratio should be between 0 and 1. # If the task has been running for more steps than this ratio of the max steps per run, then we'll log a warning. LONG_RUNNING_TASK_WARNING_RATIO: float = 0.95