Class TaskContext
java.lang.Object
com.mulesoft.modules.agent.broker.internal.state.model.TaskContext
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIteration(Iteration iteration) getAgentToolContext(String toolName) intgetId()voidreset()voidsetConversationHistory(String conversationHistory) voidsetCurrentIteration(int currentIteration) voidsetCurrentState(ConversationState conversationState) voidsetIterations(List<Iteration> iterations) void
-
Constructor Details
-
TaskContext
-
-
Method Details
-
reset
public void reset() -
getId
-
getContextId
-
getTaskId
-
getCurrentIteration
public int getCurrentIteration() -
getAgentToolContext
-
addIteration
-
getLastIteration
-
getIterations
-
getConversationState
-
getConversationHistory
-
setTaskId
-
setCurrentIteration
public void setCurrentIteration(int currentIteration) -
setIterations
-
setCurrentState
-
setConversationHistory
-