onStrategyFinished

suspend fun onStrategyFinished(strategy: AIAgentStrategy<*, *>, context: AIAgentContextBase, 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