Ignore Markdown notes when submitting workflows
This commit is contained in:
@@ -204,7 +204,7 @@ function isWidgetBackedSchemaInput(schemaInput) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function convertWorkflowJsonToPromptGraph(server, workflow) {
|
async function convertWorkflowJsonToPromptGraph(server, workflow) {
|
||||||
const virtualNodeTypes = new Set(['Note', 'Reroute']);
|
const virtualNodeTypes = new Set(['Note', 'MarkdownNote', 'Reroute']);
|
||||||
const nodeById = new Map((workflow.nodes || []).map((node) => [String(node.id), node]));
|
const nodeById = new Map((workflow.nodes || []).map((node) => [String(node.id), node]));
|
||||||
const linkById = new Map((workflow.links || []).map((link) => {
|
const linkById = new Map((workflow.links || []).map((link) => {
|
||||||
const normalized = normalizeLink(link);
|
const normalized = normalizeLink(link);
|
||||||
|
|||||||
Reference in New Issue
Block a user