Skip to content

Commit

Permalink
Fix naming typo
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv committed Oct 22, 2024
1 parent 93c18ac commit da1a553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class OutputParserStructured implements INodeType {
const zodSchema = convertJsonSchemaToZod<z.ZodSchema<object>>(jsonSchema);
const nodeVersion = this.getNode().typeVersion;
try {
const parser = await N8nStructuredOutputParser.fromZedJsonSchema(
const parser = await N8nStructuredOutputParser.fromZodJsonSchema(
zodSchema,
nodeVersion,
this,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class N8nStructuredOutputParser extends StructuredOutputParser<
}
}

static async fromZedJsonSchema(
static async fromZodJsonSchema(
zodSchema: z.ZodSchema<object>,
nodeVersion: number,
context: IExecuteFunctions,
Expand Down

0 comments on commit da1a553

Please sign in to comment.