"vscode:/vscode.git/clone" did not exist on "678f933d382641933920e84414fe36f89d1da5a3"
Commit e478b179 authored by comfyanonymous's avatar comfyanonymous
Browse files

Only add _meta title to api prompt when dev mode is enabled in UI.

parent f15dce71
...@@ -1781,14 +1781,19 @@ export class ComfyApp { ...@@ -1781,14 +1781,19 @@ export class ComfyApp {
} }
} }
output[String(node.id)] = { let node_data = {
inputs, inputs,
class_type: node.comfyClass, class_type: node.comfyClass,
};
if (this.ui.settings.getSettingValue("Comfy.DevMode")) {
// Ignored by the backend. // Ignored by the backend.
"_meta": { node_data["_meta"] = {
title: node.title, title: node.title,
}, }
}; }
output[String(node.id)] = node_data;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment