Update front-end setup instructions (#452)

This commit is contained in:
Kerem Yilmaz
2024-06-10 07:39:11 -07:00
committed by GitHub
parent 037d86939f
commit c71fae01e9
3 changed files with 3 additions and 2 deletions

View File

@@ -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: {

View File

@@ -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"

View File

@@ -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):