setExecutionPoint

fun setExecutionPoint(agentContext: AIAgentContext, nodePath: String, messageHistory: List<Message>, input: JsonElement)(source)

Sets the execution point of an agent to a specific state.

This method directly modifies the agent's context to force execution from a specific point, with the specified message history and input data.

Parameters

agentContext

The context of the agent to modify

nodePath

The path to the node inside the agent's graph

messageHistory

The message history to set for the agent

input

The input data to set for the agent