Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
initializes string parameters without defaults as empty strings instead of null (#4382)
Celal Zamanoglud5c5d5057862
diff --git a/skyvern-frontend/src/routes/workflows/utils.ts b/skyvern-frontend/src/routes/workflows/utils.tsindex eb7e807ff..ff68d9ca5 100644--- a/skyvern-frontend/src/routes/workflows/utils.ts+++ b/skyvern-frontend/src/routes/workflows/utils.ts@@ -33,7 +33,8 @@ export const getInitialValues = (acc[curr.key] = curr.default_value;return acc;}- acc[curr.key] = null;+ // For string parameters, keep empty string instead of null to match run form behavior+ acc[curr.key] = curr.workflow_parameter_type === "string" ? "" : null;return acc;},{} as Record<string, unknown>,