EventHandlerConfigAPI
Functions
Invokes the handler associated with the event that occurs before an agent is closed.
Invoke handlers for after a node in the agent's execution graph has been processed event.
Invoke handlers for an event when an error occurs during agent execution.
Invoke handlers for an event when an agent is started.
Invoke handlers for after a response is received from the language model event.
Invoke handlers for before a call is made to the language model event.
Invokes the handler associated with the event that occurs after streaming completes.
Invokes the handler associated with the event that occurs when an error occurs during streaming.
Invokes the handler associated with stream frame events during streaming.
Invokes the handler associated with the event that occurs before streaming starts.
Invoke handlers for after a node in the agent's execution graph has been processed event.
Invokes the error handling logic for a node execution error event.
Invoke handlers for before a node in the agent's execution graph is processed event.
Invoke handlers for an event when a strategy finishes execution.
Invoke handlers for an event when strategy starts execution.
Invoke handlers for after a subgraph in the agent's execution graph has been processed event.
Invokes the error handling logic for a subgraph execution error event.
Invoked when the execution of a subgraph is starting. This method allows you to perform actions or initialize resources necessary for the subgraph execution process.
Invoke handlers for an event when a tool call is completed successfully.
Invoke handlers for a tool call failure with an exception event.
Invoke handlers for the tool call event.
Invoke handlers for a validation error during a tool call event.
Append handler called after a response is received from the language model.
Append handler called after a node in the agent's execution graph has been processed.
Appends a handler called before an agent is closed. This allows for additional behavior to be executed prior to the agent being closed.
Appends a handler called before an agent is closed. This allows for additional behavior to be executed prior to the agent being closed.
Append handler called when an agent finishes execution.
Append handler called when an error occurs during agent execution.
Append handler called when an agent finishes execution.
Append handler called when an error occurs during agent execution.
Append handler called when an agent is started.
Append handler called when an agent is started.
Append handler called before a call is made to the language model.
Append handler called before a node in the agent's execution graph is processed.
Append handler called after a response is received from the language model.
Append handler called before a call is made to the language model.
Registers a handler to be invoked after streaming from a language model completes.
Registers a handler to be invoked when an error occurs during streaming.
Registers a handler to be invoked when stream frames are received during streaming.
Registers a handler to be invoked before streaming from a language model begins.
Append handler called after a node in the agent's execution graph has been processed.
Append handler called when an error occurs during the execution of a node.
Append handler called when an error occurs during the execution of a node.
Append handler called before a node in the agent's execution graph is processed.
Append handler called when a strategy finishes execution.
Append handler called when a strategy finishes execution.
Append handler called when a strategy starts execution.
Append handler called when a strategy starts execution.
Append handler called after a subgraph in the agent's execution graph has been processed.
Append handler called when an error occurs during the execution of a subgraph.
Append handler called before a subgraph in the agent's execution graph is processed.
Append handler called when a tool is about to be called.
Append handler called when a tool call completes successfully.
Append handler called when a tool call fails with an exception.
Append handler called when a tool call fails with an exception.
Append handler called when a tool call completes successfully.
Append handler called when a tool is about to be called.
Append handler called when a validation error occurs during a tool call.
Append handler called when a validation error occurs during a tool call.