transformEnvironment
fun transformEnvironment(strategy: AIAgentStrategy, agent: AIAgent, baseEnvironment: AIAgentEnvironment): AIAgentEnvironment(source)
Transforms the agent environment by applying all registered environment transformers.
This method allows features to modify or enhance the agent's environment before it starts execution. Each registered handler can apply its own transformations to the environment in sequence.
Return
The transformed environment after all handlers have been applied
Parameters
strategy
The strategy associated with the agent
agent
The agent instance for which the environment is being transformed
baseEnvironment
The initial environment to be transformed