Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Jon/improve cache key value deletion (#3464)
Jonathan Dobson44d7d113805a
diff --git a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsxindex 9382a4b30..1884098f9 100644--- a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx+++ b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx@@ -379,7 +379,7 @@ function Workspace({const client = await getClient(credentialGetter, "sans-api-v1");const encodedCacheKeyValue = encodeURIComponent(cacheKeyValue);return client.delete(- `/scripts/${workflowPermanentId}/value/${encodedCacheKeyValue}`,+ `/scripts/${workflowPermanentId}/value/?cache-key-value=${encodedCacheKeyValue}`,);},onSuccess: () => {diff --git a/skyvern/forge/sdk/routes/scripts.py b/skyvern/forge/sdk/routes/scripts.pyindex 5de010c36..3d5611391 100644--- a/skyvern/forge/sdk/routes/scripts.py+++ b/skyvern/forge/sdk/routes/scripts.py@@ -485,12 +485,12 @@ async def get_workflow_cache_key_values(@base_router.delete(- "/scripts/{workflow_permanent_id}/value/{cache_key_value}",+ "/scripts/{workflow_permanent_id}/value",include_in_schema=False,)async def delete_workflow_cache_key_value(workflow_permanent_id: str,- cache_key_value: str,+ cache_key_value: str = Query(alias="cache-key-value"),current_org: Organization = Depends(org_auth_service.get_current_org),) -> dict[str, str]:"""Delete a specific cache key value for a workflow."""