copy
abstract fun copy(environment: AIAgentEnvironment? = this.environment, agentInput: Any? = this.agentInput, agentInputType: KType? = this.agentInputType, config: AIAgentConfigBase? = this.config, llm: AIAgentLLMContext? = this.llm, stateManager: AIAgentStateManager? = this.stateManager, storage: AIAgentStorage? = this.storage, runId: String? = this.runId, strategyId: String? = this.strategyId): AIAgentContextMockBuilderBase(source)
Creates and returns a copy of the current instance of AIAgentContextMockBuilderBase
.
Return
A new instance of AIAgentContextMockBuilderBase
with the same properties as the original.