panoramisk icon indicating copy to clipboard operation
panoramisk copied to clipboard

Adding an agent into a queue

Open raj2569 opened this issue 4 years ago • 2 comments

Hello,

I had a probelm with adding an agent into a queue, with send_action() not returning back a message. Dug deeper and found that this line is causing the issue:

https://github.com/gawel/panoramisk/blob/2ccb5d18be28a8e8f444dc0cd3a3bfb59aa19a8e/panoramisk/actions.py#L67

This causes multi to be true, but len(self.responses) is still one, and add_message will return false. I have temporarly disabled that check and everything is running fine.

raj2569 avatar Sep 07 '20 09:09 raj2569

Duplicate of #54

raj2569 avatar Sep 07 '20 12:09 raj2569

Cant you use send_action(..., as_list=False) ?

gawel avatar Sep 07 '20 17:09 gawel