copy

open override fun copy(environment: AIAgentEnvironment = this.environment, agentId: String = this.agentId, agentInput: Any? = this.agentInput, agentInputType: TypeToken = this.agentInputType, config: AIAgentConfig = this.config, llm: AIAgentLLMContext = this.llm, stateManager: AIAgentStateManager = this.stateManager, storage: AIAgentStorage = this.storage, runId: String = this.runId, strategyName: String = this.strategyName, pipeline: AIAgentGraphPipeline = this.pipeline, executionInfo: AgentExecutionInfo = this.executionInfo, parentContext: AIAgentGraphContextBase? = this): AIAgentGraphContextBase(source)

Creates a copy of the current AIAgentContextBase object with the specified parameters.