Protected_ProtectedchangeProtectedchatProtectedchatProtectedchatProtecteddefaultProtecteddeserializerProtectedfallbackProtectedloggerProtected ReadonlyonProtectedpinProtectedsessionProtectedvariableProtectedcancelOptionaloptions: SessionOptionsOptionalpinnedAgent: ChatAgentProtectedgetGet all persisted session metadata
ProtectedgetCheck if an agent is pinned, and use it if no other agent is mentioned.
ProtectedinitialProtectedisDetermines if chat agent pinning is enabled. Can be overridden by subclasses to provide different logic (e.g., using preferences).
ProtectedresolveProtectedrestoreProtectedrestoreDeserialize response content and restore changesets. Called after basic chat model structure was created.
ProtectedsaveOptionaloptions: SessionOptionsProtectedsetupSet up auto-save for a session by listening to model changes.
Protectedupdate
Get an existing session or restore from storage