onStrategyCompleted
suspend fun onStrategyCompleted(eventId: String, executionInfo: AgentExecutionInfo, strategy: AIAgentStrategy<*, *, *>, context: AIAgentContext, result: Any?, resultType: KType)(source)
Notifies all registered strategy handlers that a strategy has finished execution.
Parameters
eventId
The unique identifier for the event group.
executionInfo
The execution information for the strategy event
strategy
The strategy that has finished execution
context
The context of the strategy execution
result
The result produced by the strategy execution