Class AgentExecutorEx.State
java.lang.Object
org.bsc.langgraph4j.state.AgentState
org.bsc.langgraph4j.prebuilt.MessagesState<dev.langchain4j.data.message.ChatMessage>
org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.State
- Enclosing interface:
- AgentExecutorEx
public static class AgentExecutorEx.State
extends MessagesState<dev.langchain4j.data.message.ChatMessage>
Represents the state of an agent.
-
Field Summary
FieldsFields inherited from class org.bsc.langgraph4j.prebuilt.MessagesState
MESSAGES_STATEFields 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
-
Field Details
-
TOOL_EXECUTION_REQUESTS
- See Also:
-
NEXT_ACTION
- See Also:
-
FINAL_RESPONSE
- See Also:
-
-
Constructor Details
-
State
-
-
Method Details
-
toolExecutionRequests
-
toolExecutionRequests$removeFirst
-
nextAction
-
finalResponse
Retrieves the agent final response.- Returns:
- an Optional containing the agent final response if present
-