ArtVentureX / sd-webui-agent-scheduler

599 stars 60 forks source link

using task id returned by txt2img or img2img is not able to get task progress from '/internal/progress' api. #241

Open kuanke opened 2 months ago

kuanke commented 2 months ago

few days ago, I updated sourcecode from sd-webui-agent-scheduler and stable-diffusion-webui, then I request "/agent-scheduler/v1/queue/txt2img" by api, and it returned a task_id like this: "fe836c44-41fc-418a-b11f-bd250153985e". But I can't get progress by "/internal/progress" using this task_id, also I found another task id in the F12-network tab like: "task(txt2img-X5ZC22M)", and it can get the right progress.

WX20240428-194611@2x