Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Sync cloud streamlit to open-source streamlit (#54)
Kerem Yilmaz647ea2ac0fcc
diff --git a/streamlit_app/visualizer/api.py b/streamlit_app/visualizer/api.pyindex a417f9be3..654fc015b 100644--- a/streamlit_app/visualizer/api.py+++ b/streamlit_app/visualizer/api.py@@ -3,10 +3,13 @@ from typing import Anyimport curlifyimport requests+import structlogfrom requests import PreparedRequestfrom skyvern.forge.sdk.schemas.tasks import TaskRequest+LOG = structlog.get_logger()+class SkyvernClient:def __init__(self, base_url: str, credentials: str):@@ -28,6 +31,7 @@ class SkyvernClient:response = requests.post(url, headers=headers, data=json.dumps(payload))if "task_id" not in response.json():+ LOG.info(f"Failed to create task: {response.text}")return Nonereturn response.json()["task_id"]