Protected_ProtectedchangeProtected ReadonlychangeProtectedchatProtectedchatProtectedchatProtecteddefaultProtecteddeserializerProtectedfallbackProtectedloggerProtected ReadonlyonProtectedpinProtected ReadonlypreferenceProtectedsessionProtectedvariableProtectedcancelOptionallocation: ChatAgentLocationOptionaloptions: SessionOptionsOptionalpinnedAgent: ChatAgentProtectedgetProtectedgetGet an existing session or restore from storage
Get 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
Customizes the ChatServiceImpl to consider preference based default chat agent