stateManager
An overrideable property for managing the agent's state using an instance of AIAgentStateManager.
The stateManager
provides thread-safe mechanisms to update, lock, and access the internal state of the AI agent. It ensures the consistency of state modifications and employs a mutual exclusion mechanism to synchronize coroutines accessing the state.
This property can be used for customizing state management within the context of the AIAgentContextMockBuilder
and its associated operations such as copying or building mock agent contexts.
By default, it is initialized to null
and can be set or overridden to integrate a specific AIAgentStateManager
instance for managing agent state in custom scenarios.