InMemoryRunner
Constructors
Link copied to clipboard
constructor(agent: BaseAgent, appName: String = "InMemoryRunner", sessionService: SessionService = InMemorySessionService(), artifactService: ArtifactService? = InMemoryArtifactService(), memoryService: MemoryService? = InMemoryMemoryService(), plugins: List<Plugin> = emptyList())
Creates an InMemoryRunner from a root agent, its plugins, and default in-memory services.
constructor(app: App, sessionService: SessionService = InMemorySessionService(), artifactService: ArtifactService? = InMemoryArtifactService(), memoryService: MemoryService? = InMemoryMemoryService(), skipClosingPlugins: Boolean = false)
Creates an InMemoryRunner from an App, deriving its App.appName, App.rootAgent, App.plugins, and App.resumabilityConfig.
Types
Link copied to clipboard
class Builder
Fluent builder for InMemoryRunner, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Properties
Functions
Link copied to clipboard
open suspend override fun rewindAsync(userId: String, sessionId: String, rewindBeforeInvocationId: String)
Rewinds the session to before the specified invocation.