Update front-end setup instructions (#452)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user