Remove 'clean' param from graphToPrompt (#2665)

This commit is contained in:
Chenlei Hu
2025-02-21 12:01:26 -05:00
committed by GitHub
parent ec94811637
commit abfc7481d3
2 changed files with 11 additions and 14 deletions

View File

@@ -1227,9 +1227,8 @@ export class ComfyApp {
return graph.serialize({ sortNodes })
}
async graphToPrompt(graph = this.graph, clean = true) {
async graphToPrompt(graph = this.graph) {
return graphToPrompt(graph, {
clean,
sortNodes: useSettingStore().get('Comfy.Workflow.SortNodeIdOnSave')
})
}