copy
Creates a copy of the current AIAgentGraphContext, allowing for selective overriding of its properties.
Parameters
The AIAgentEnvironment to be used in the new context, or the current one if not specified.
The unique agent identifier, or the current one if not specified.
The input data for the agent, or the current input if not specified.
The TypeToken representing the type of agentInput, or the current type if not specified.
The AIAgentConfig for the new context, or the current configuration if not specified.
The AIAgentLLMContext to be used, or the current LLM context if not specified.
The AIAgentStateManager to be used, or the current state manager if not specified.
The AIAgentStorage to be used, or the current storage if not specified.
The run identifier, or the current run ID if not specified.
The strategy name, or the current strategy name if not specified.
The AIAgentGraphPipeline to be used, or the current pipeline if not specified.
The AgentExecutionInfo to be used, or the current execution info if not specified.
The parent context, or the current instance if not specified.