What are the types of kind values in the parameter...
# ask-ai
a
What are the types of kind values in the parameter of wait participan in an agent?
t
Thanks for reaching out, Benjamin. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The
wait_for_participant
function in an agent accepts a
kind
parameter that can have the following types: • A list of
rtc.ParticipantKind.ValueType
values • A single
rtc.ParticipantKind.ValueType
value •
None
In the agent's implementation, the default value is
DEFAULT_PARTICIPANT_KINDS
. Sources: livekit.agents API documentation | GitHub::livekit::agents | livekit-agents/livekit/agents/utils/participant.p...