copy
Creates a copy of the current AIAgentContext with optional overrides for its properties.
Return
A new instance of AIAgentContext with the specified overrides.
Parameters
The agent environment to be used, or null to retain the current environment.
The agent input to be used, or null to retain the current input.
The AI agent configuration, or null to retain the current configuration.
The AI agent LLM context, or null to retain the current LLM context.
The state manager for the AI agent, or null to retain the current state manager.
The AI agent's key-value storage, or null to retain the current storage.
The UUID of the session, or null to retain the current session UUID.
The strategy ID, or null to retain the current strategy ID.
The AI agent pipeline, or null to retain the current pipeline.