AbstractRunner
An abstract base class for Runner implementations that provides common orchestration logic.
Inheritors
Constructors
Link copied to clipboard
constructor(appName: String, agent: BaseAgent, sessionService: SessionService, artifactService: ArtifactService?, memoryService: MemoryService?, pluginManager: PluginManager, resumabilityConfig: ResumabilityConfig = ResumabilityConfig())
Creates a runner from explicit fields, not using an App.
constructor(app: App, sessionService: SessionService, artifactService: ArtifactService?, memoryService: MemoryService?, skipClosingPlugins: Boolean = false)
Creates a runner from an App, deriving its App.appName, App.rootAgent, App.plugins, and App.resumabilityConfig.
Properties
Functions
Link copied to clipboard
Applies the provided stateDelta to the given event.
Link copied to clipboard
open suspend override fun rewindAsync(userId: String, sessionId: String, rewindBeforeInvocationId: String)
Rewinds the session to before the specified invocation.