Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
isamu committed Jun 20, 2024
1 parent e365601 commit a839a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/setAgentToLiteGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
});
Expand Down Expand Up @@ -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;
});
};

Expand Down

0 comments on commit a839a40

Please sign in to comment.