-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add allow specify the task id and get the location of task in the queue of pending task #14314
Conversation
I've been wanting to do this change myself for a long time, but never got to it. One thing, I renamed |
Let's see if this breaks the workflow for any existing users... Since we have task ids for API now, it should also possible to extend interrupt/stop API requests, to let users specify which task exactly they want to interrupt/stop; currently the API call can only interrupt the currently generating picture (and generally, if you placed an API request, and it's in queue, and you want to cancel its generation, you'd want to interrupt that request and not the one being currently processed). |
Happy to reedit you want |
Yep, the interrupt/stop API requests sounds like a good idea, we could control a task in queue of pending tasks |
@gayshub @AUTOMATIC1111, hi, do you mind exposing this as |
I was using Agent Sheduler for this, and now the "/agent-scheduler/v1/queue" api end point will break everything on 1.8 update, i was supposed to get agent scheduler generated current_task_id, but as I can see it gives me back the ID similar to this "task(txt2img-0KWIGFX)". |
Add allow specify the task id and get the location of task in the queue of pending task
Description
This pull request include two features:
Verified
I have tested by myself
Checklist
How to run
Screenshots/videos:
Other
I'd love to become contributor : )