onAgentRunError
Deprecated
Use onAgentExecutionFailed instead
Replace with
import ai.koog.agents.core.feature.handler.AgentExecutionFailedContext
Content copied to clipboard
onAgentExecutionFailed(handler)
Content copied to clipboard
Append handler called when an error occurs during agent execution.