graph_utils
autogen.graph_utils.check_graph_validity
check_graph_validity
Check the validity of the allowed_speaker_transitions_dict.
Name | Description |
---|---|
allowed_speaker_transitions_dict | A dictionary of keys and list as values. The keys are the names of the agents, and the values are the names of the agents that the key agent can transition to. Type: dict[str, list[Agent]] |
agents | A list of Agents Type: list[Agent] |