Class AgentExecutor.State
java.lang.Object
org.bsc.langgraph4j.state.AgentState
org.bsc.langgraph4j.prebuilt.MessagesState<org.springframework.ai.chat.messages.Message>
org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.State
- Enclosing interface:
- AgentExecutor
public static class AgentExecutor.State
extends MessagesState<org.springframework.ai.chat.messages.Message>
Represents the state of an agent in a system.
This class extends
AgentState and defines constants for keys related to input, agent outcome,
and intermediate steps. It includes a static map schema that specifies how these keys should be handled.-
Field Summary
Fields inherited from class org.bsc.langgraph4j.prebuilt.MessagesState
MESSAGES_STATE, SCHEMAFields inherited from class org.bsc.langgraph4j.state.AgentState
MARK_FOR_REMOVAL, MARK_FOR_RESET -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bsc.langgraph4j.prebuilt.MessagesState
lastMessage, lastMinus, messagesMethods inherited from class org.bsc.langgraph4j.state.AgentState
data, mergeWith, toString, updateState, updateState, value, value, value
-
Constructor Details
-
State
Constructs a new State object using the initial data provided in the initData map.- Parameters:
initData- the map containing the initial settings for this state
-