copy
open override fun copy(environment: AIAgentEnvironment? = this.environment, 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, executionInfo: AgentExecutionInfo? = this.executionInfo): Testing.Config.SubgraphAssertionsBuilder.EdgeAssertionsBuilder(source)
Creates a deep copy of the current EdgeAssertionsBuilder instance, duplicating its state and context.
Return
A new EdgeAssertionsBuilder instance with the same stageBuilder and a copied context.