persistence
Extension function to access the checkpoint feature from an agent context.
Return
The Persistence feature instance for this agent
Throws
if the checkpoint feature is not installed
fun <Input, Output, TContext : AIAgentContext> AIAgentRunSession<Input, Output, TContext>.persistence(): Persistence(source)
Extension function to access the checkpoint feature from a session.
Return
The Persistence feature instance for this session
Throws
if the checkpoint feature is not installed