Describe the bug
Enqueue is unable to provide progress updates.
The response shape of the WebSocket "progress" event is incorrectly defined for latest version of ComfyUI (v2362).
To Reproduce
Trigger a workflow using the REST API and enqueue function with a progress event
Expected behavior
Progress should be reported in the console.
Actual behavior
Should report progress in the console.
Error in the console coming from the library:
TypeError: Cannot read properties of undefined (reading 'prompt_id')
at a2.<anonymous> (@stable-canvas_comfyui-client.js?v=eec9a95c:513:19)
at a2.emit (@stable-canvas_comfyui-client.js?v=eec9a95c:56:24)
at WebSocket.<anonymous> (@stable-canvas_comfyui-client.js?v=eec9a95c:201:25)
Desktop (please complete the following information):
OS: MacOS
Browse: Chrome
Version: 126
Additional context
The response shape does not have a progress top level object, the actual shape is as follows:
Describe the bug Enqueue is unable to provide progress updates. The response shape of the WebSocket "progress" event is incorrectly defined for latest version of ComfyUI (v2362).
To Reproduce Trigger a workflow using the REST API and
enqueue
function with a progress eventExpected behavior Progress should be reported in the console.
Actual behavior Should report progress in the console. Error in the console coming from the library:
Desktop (please complete the following information):
Additional context The response shape does not have a
progress
top level object, the actual shape is as follows: