mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 15:35:51 +00:00
Null check for streamlit visualizer (#24)
This commit is contained in:
parent
0917fa0702
commit
d9729985b1
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ class SkyvernClient:
|
|||
response = requests.get(url, params=params, headers=headers)
|
||||
steps = response.json()
|
||||
for step in steps:
|
||||
step["output"]["actions_and_results"] = json.dumps(step["output"]["actions_and_results"])
|
||||
if step.output and "actions_and_results" in step.output:
|
||||
step["output"]["actions_and_results"] = json.dumps(step["output"]["actions_and_results"])
|
||||
return steps
|
||||
|
||||
def get_agent_task_video_artifact(self, task_id: str) -> dict[str, Any] | None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue