Skip to content

Commit

Permalink
fix unbound latest_action_screenshot_urls (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored May 17, 2024
1 parent 2e86b41 commit 62e4f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern/forge/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ async def execute_task_webhook(
artifact_types=[ArtifactType.SCREENSHOT_ACTION],
n=SettingsManager.get_settings().TASK_RESPONSE_ACTION_SCREENSHOT_COUNT,
)

latest_action_screenshot_urls: list[str] | None = []
if latest_action_screenshot_artifacts:
latest_action_screenshot_urls = await app.ARTIFACT_MANAGER.get_share_links(
latest_action_screenshot_artifacts
Expand Down

0 comments on commit 62e4f23

Please sign in to comment.