async execution failed to run
Hello everyone,
I'm trying to implement a discord bot that can send request to serverless endpoint and run ComfyUI to generate images. I tried to refer the code in the documentation but the worker never able to run through the job, instead it failed to return anything. By changing the code to run_sync, this worked perfectly fine.
I have attached my handler and get image function below.
Any suggestions on how to troubleshoot would be great!
4 Replies
did you call the /status to check the status of your job & retrieve result too?
Yes thank you for replying. I think I figured it out, it has something to do we the input json format...the docker I build takes {"input": {"workflow": {}, "images":{}}}, but when running the workers did not recognize "workflow". However I changed my input to {"workflow": {}, "images":{}} and then they start to run with no problem.