Skip to content

Commit 410c3fc

Browse files
committed
Add can_manage_agent_session to VideoGrants
Mirrors the field added in livekit/protocol#1557 to allow participants to manage agent sessions via RemoteSession.
1 parent 1eaae1a commit 410c3fc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

livekit-api/livekit/api/access_token.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ class VideoGrants:
6868
# indicates that the holder can register as an Agent framework worker
6969
agent: Optional[bool] = None
7070

71+
# allow participant to manage an agent session via RemoteSession
72+
can_manage_agent_session: Optional[bool] = None
73+
7174

7275
@dataclass
7376
class SIPGrants:

0 commit comments

Comments
 (0)