onAgentEnvironmentTransforming
suspend fun onAgentEnvironmentTransforming(eventId: String, executionInfo: AgentExecutionInfo, agent: GraphAIAgent<*, *>, 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
eventId
The unique identifier for the event group;
executionInfo
The execution information for the agent environment transformation event;
agent
The agent instance for which the environment is being transformed;
baseEnvironment
The initial environment to be transformed;