NodeExecutionFailedEvent

constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, nodeName: String, input: JsonElement?, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())(source)


constructor(runId: String, nodeName: String, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())(source)

Deprecated

Use constructor with executionInfo parameter, and input parameter of type [JsonElement]

Replace with

NodeExecutionFailedEvent(executionInfo, runId, nodeName, input, error, timestamp)

Creates an instance of NodeExecutionFailedEvent.

This constructor is deprecated and should be replaced with the constructor that accepts executionInfo parameter, and an input parameter of type JsonElement.