feat(Structured Output Parser Node): Add notice about $refs support in JSON schema (#15973)

This commit is contained in:
Eugene
2025-06-05 09:51:03 +02:00
committed by GitHub
parent c57e697249
commit 47ad74d137
3 changed files with 13 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ export const schemaTypeField: INodeProperties = {
description: 'Generate a schema from an example JSON object',
},
{
name: 'Define Below',
name: 'Define using JSON Schema',
value: 'manual',
description: 'Define the JSON schema manually',
},
@@ -71,6 +71,7 @@ export const buildInputSchemaField = (props?: {
},
},
description: 'Schema to use for the function',
hint: 'Use <a target="_blank" href="https://json-schema.org/">JSON Schema</a> format (<a target="_blank" href="https://json-schema.org/learn/miscellaneous-examples.html">examples</a>). $refs syntax is currently not supported.',
});
export const inputSchemaField = buildInputSchemaField();