Protected_ProtectedchangeProtectedchatProtectedchatProtectedchatProtecteddefaultProtecteddeserializerProtectedfallbackProtectedloggerProtected ReadonlyonProtectedpinProtectedsessionProtectedtoolProtectedvariableProtectedcancelOptionaloptions: SessionOptionsOptionalpinnedAgent: ChatAgentProtectedgetGet all persisted session metadata. Note: This may trigger storage initialization if not already initialized.
ProtectedgetCheck if an agent is pinned, and use it if no other agent is mentioned.
Check if there are persisted sessions available.
ProtectedinitialProtectedisDetermines if chat agent pinning is enabled. Can be overridden by subclasses to provide different logic (e.g., using preferences).
ProtectedloadLoads a tool request from the registry or creates a fallback if not found.
ProtectedresolveProtectedrestoreProtectedrestoreDeserialize response content and restore changesets. Called after basic chat model structure was created.
ProtectedrestoreExtracts and resolves tool requests from serialized data. Looks up actual ToolRequest objects from the registry, or creates fallbacks if not found.
ProtectedsaveOptionaloptions: SessionOptionsProtectedsetupSet up auto-save for a session by listening to model changes.
Protectedupdate
Get an existing session or restore from storage