copy

open override fun copy(): AIAgentState<Output>(source)

Creates and returns a copy of the current state object.

Return

A new instance of AIAgentState<Output> that is a copy of the current object.