From a839a40d707b5103f4dfef796bf358a9f59a5f8d Mon Sep 17 00:00:00 2001 From: isamu Date: Thu, 20 Jun 2024 15:09:39 +0900 Subject: [PATCH] format --- src/utils/setAgentToLiteGraph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/setAgentToLiteGraph.ts b/src/utils/setAgentToLiteGraph.ts index 632c386..025388a 100644 --- a/src/utils/setAgentToLiteGraph.ts +++ b/src/utils/setAgentToLiteGraph.ts @@ -41,7 +41,7 @@ const jsonSchemaToIO = (inputs: any, typeName: string) => { if (!inputs) { return [[typeName, ["string", "number", "object"]]]; } - if (inputs.type === "object" && inputs.properties) { + if (inputs.type === "object" && inputs.properties) { return Object.keys(inputs.properties).map((property) => { return [property, inputs.properties[property].type]; }); @@ -78,7 +78,7 @@ const jsonSchemaToI2IOType = (inputs: any) => { const format2output2 = (format: any) => { return Object.keys(format).map((property) => { const data = format[property]; - return data.key + return data.key; }); };