setExecutionPointAfterNode
fun setExecutionPointAfterNode(agentContext: AIAgentContext, nodePath: String, messageHistory: List<Message>, output: JSONElement)(source)
Sets the execution point of an agent to a specified state.
This method updates the agent's context to start execution from a specific point in its graph, using the provided message history and finished node output data.
Parameters
agentContext
The context of the agent to modify.
nodePath
The path to the node inside the agent's graph where execution will begin.
messageHistory
The sequence of messages representing the agent's prior interactions.
output
The output data to associate with the specified execution point.
fun setExecutionPointAfterNode(agentContext: AIAgentContext, nodePath: String, messageHistory: List<Message>, output: JsonElement)(source)
Deprecated
Use setExecutionPointAfterNode with JSONElement instead of JsonElement