Skip to content
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

Adding an agent into a queue #92

Open
raj2569 opened this issue Sep 7, 2020 · 2 comments
Open

Adding an agent into a queue #92

raj2569 opened this issue Sep 7, 2020 · 2 comments

Comments

@raj2569
Copy link

raj2569 commented Sep 7, 2020

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:

elif msg.startswith('added') and msg.endswith('to queue'):

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
Copy link
Author

raj2569 commented Sep 7, 2020

Duplicate of #54

@gawel
Copy link
Owner

gawel commented Sep 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants