Skip to main content

exception_utils

NoEligibleSpeaker

class NoEligibleSpeaker(Exception)

Exception raised for early termination of a GroupChat.

SenderRequired

class SenderRequired(Exception)

Exception raised when the sender is required but not provided.

InvalidCarryOverType

class InvalidCarryOverType(Exception)

Exception raised when the carryover type is invalid.

UndefinedNextAgent

class UndefinedNextAgent(Exception)

Exception raised when the provided next agents list does not overlap with agents in the group.