mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 10:41:04 +00:00
fix unbound latest_action_screenshot_urls (#334)
This commit is contained in:
parent
2e86b41beb
commit
62e4f23ab3
1 changed files with 1 additions and 1 deletions
|
@ -930,7 +930,7 @@ class ForgeAgent:
|
||||||
artifact_types=[ArtifactType.SCREENSHOT_ACTION],
|
artifact_types=[ArtifactType.SCREENSHOT_ACTION],
|
||||||
n=SettingsManager.get_settings().TASK_RESPONSE_ACTION_SCREENSHOT_COUNT,
|
n=SettingsManager.get_settings().TASK_RESPONSE_ACTION_SCREENSHOT_COUNT,
|
||||||
)
|
)
|
||||||
|
latest_action_screenshot_urls: list[str] | None = []
|
||||||
if latest_action_screenshot_artifacts:
|
if latest_action_screenshot_artifacts:
|
||||||
latest_action_screenshot_urls = await app.ARTIFACT_MANAGER.get_share_links(
|
latest_action_screenshot_urls = await app.ARTIFACT_MANAGER.get_share_links(
|
||||||
latest_action_screenshot_artifacts
|
latest_action_screenshot_artifacts
|
||||||
|
|
Loading…
Add table
Reference in a new issue