Add workflow node connection debug logging
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m6s

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Nick
2025-12-27 18:21:56 +13:00
parent 85e38bc3ec
commit 12e2ef3230

View File

@@ -446,6 +446,18 @@ def handler(job: dict) -> dict:
# Inject parameters into workflow
workflow = inject_wan22_params(workflow, params)
# Debug: print key nodes to verify connections
print("=== Workflow Debug ===")
for node_id in ["117", "116", "115", "158", "140", "156", "144", "145"]:
if node_id in workflow:
node = workflow[node_id]
print(f"Node {node_id} ({node['class_type']}):")
for k, v in node['inputs'].items():
if isinstance(v, list):
print(f" {k}: -> node {v[0]} slot {v[1]}")
else:
print(f" {k}: {repr(v)[:50]}")
# Queue workflow
client_id = uuid.uuid4().hex
prompt_id = queue_workflow(workflow, client_id)