onStrategyCompleted

suspend fun onStrategyCompleted(strategy: AIAgentStrategy<*, *, *>, context: AIAgentContext, result: Any?, resultType: KType)(source)

Notifies all registered strategy handlers that a strategy has finished execution.

Parameters

strategy

The strategy that has finished execution

context

The context of the strategy execution

result

The result produced by the strategy execution