diff --git a/autogpt_platform/frontend/src/components/node-input-components.tsx b/autogpt_platform/frontend/src/components/node-input-components.tsx index e1b0ff2ce145..5f778beb605a 100644 --- a/autogpt_platform/frontend/src/components/node-input-components.tsx +++ b/autogpt_platform/frontend/src/components/node-input-components.tsx @@ -1081,13 +1081,21 @@ const NodeStringInput: FC<{ className, displayName, }) => { + const schemaType = (schema as any).type; + const isNumeric = schemaType === "number" || schemaType === "integer"; value ||= schema.default || ""; + const normalizedValue = value === undefined ? "" : String(value); return (
{schema.enum && schema.enum.length > 0 ? ( ) : (