Skip to content

Commit

Permalink
Update front-end setup instructions (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykeremy authored Jun 10, 2024
1 parent 037d869 commit c71fae0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
1 change: 1 addition & 0 deletions skyvern/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion skyvern/forge/sdk/routes/agent_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c71fae0

Please sign in to comment.