NoEligibleSpeaker: Custom speaker selection function returned None. Terminating conversation. #5588
Unanswered
thrishathi02
asked this question in
Q&A
Replies: 3 comments 2 replies
-
I'm using V0.2 btw |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm facing similar problems |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ekzhu, any idea on why this could be happening? I'm using a similar method for state transition in another project, this error doesn't occur there at all. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the code that I'm using, and it gives me a error which says : "NoEligibleSpeaker: Custom speaker selection function returned None. Terminating conversation.". Please help.
def state_transition(last_speaker, groupchat):
messages = groupchat.messages
last_message = messages[-1] if messages else {}
Beta Was this translation helpful? Give feedback.
All reactions