interceptBeforeAgentStarted
fun <TFeature : Any> interceptBeforeAgentStarted(context: InterceptContext<TFeature>, handle: suspend (AgentStartContext<TFeature>) -> Unit)(source)
Intercepts on before an agent started to modify or enhance the agent.
Parameters
handle
The handler that processes agent creation events
Example:
pipeline.interceptBeforeAgentStarted(InterceptContext) {
readStages { stages ->
// Inspect agent stages
}
}
Content copied to clipboard