Skip to content

Automate browser based workflows with AI

Update front-end setup instructions (#452)

Kerem Yilmazc71fae01e913
diff --git a/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts b/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts
index 4371b36cf..88132b3df 100644
--- a/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts
+++ b/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts
@@ -52,7 +52,7 @@ export const california_edd = {
export const finditparts = {
url: "https://www.finditparts.com",
navigationGoal:
- "Search for the specified product id, add it to cart and then navigate to the cart page",
+ "Search for the specified product id, add it to cart and then navigate to the cart page. Your goal is COMPLETE when you're on the cart page and the specified product is in the cart",
dataExtractionGoal:
"Extract all product quantity information from the cart page",
navigationPayload: {
diff --git a/skyvern/config.py b/skyvern/config.py
index a950ca35e..d790ccd04 100644
--- a/skyvern/config.py
+++ b/skyvern/config.py
@@ -41,6 +41,7 @@ class Settings(BaseSettings):
# Artifact storage settings
ARTIFACT_STORAGE_PATH: str = f"{SKYVERN_DIR}/artifacts"
+ GENERATE_PRESIGNED_URLS: bool = False
# S3 bucket settings
AWS_REGION: str = "us-east-1"
diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.py
index 1cc939a41..307036b77 100644
--- a/skyvern/forge/sdk/routes/agent_protocol.py
+++ b/skyvern/forge/sdk/routes/agent_protocol.py
@@ -436,7 +436,7 @@ async def get_agent_task_step_artifacts(
step_id,
organization_id=current_org.organization_id,
)
- if SettingsManager.get_settings().ENV != "local":
+ if SettingsManager.get_settings().ENV != "local" or SettingsManager.get_settings().GENERATE_PRESIGNED_URLS:
signed_urls = await app.ARTIFACT_MANAGER.get_share_links(artifacts)
if signed_urls:
for i, artifact in enumerate(artifacts):