Skip to main content

attach

Method
This is a method of the SessionObserverProtocol class in the protocols module.
Attach client_id to session_id with the given role. Adds an observer rather than re-pointing ownership, so a second client can watch a session without hijacking it.

Signature

Parameters

str
required
No description available.
str
required
No description available.
SessionSharingRole
default:"SessionSharingRole.VIEWER"
No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 325