Package com.embabel.agent.api.event
Class ToolLoopStartEvent
-
- All Implemented Interfaces:
-
com.embabel.agent.api.event.AgentProcessEvent,com.embabel.agent.api.event.AgenticEvent,com.embabel.agent.core.InProcess,com.embabel.common.core.types.Timestamped
public final class ToolLoopStartEvent extends AbstractAgentProcessEvent
-
-
Field Summary
Fields Modifier and Type Field Description private final Actionactionprivate final List<String>toolNamesprivate final IntegermaxIterationsprivate final StringinteractionIdprivate final Class<?>outputClassprivate final Instanttimestampprivate final StringprocessIdprivate final List<ActionInvocation>historyprivate final AgentProcessStatusReportstatusprivate final AgentProcessagentProcess
-
Constructor Summary
Constructors Constructor Description ToolLoopStartEvent(AgentProcess agentProcess, Action action, List<String> toolNames, Integer maxIterations, String interactionId, Class<?> outputClass)
-
Method Summary
Modifier and Type Method Description final ActiongetAction()final List<String>getToolNames()final IntegergetMaxIterations()final StringgetInteractionId()final Class<?>getOutputClass()final ToolLoopCompletedEventcompletedEvent(Integer totalIterations, Boolean replanRequested)-
Methods inherited from class com.embabel.agent.api.event.AbstractAgentProcessEvent
getAgentProcess, getHistory, getProcessId, getStatus, getTimestamp -
Methods inherited from class com.embabel.common.core.types.Timestamped
isLaterThan -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getToolNames
final List<String> getToolNames()
-
getMaxIterations
final Integer getMaxIterations()
-
getInteractionId
final String getInteractionId()
-
getOutputClass
final Class<?> getOutputClass()
-
completedEvent
final ToolLoopCompletedEvent completedEvent(Integer totalIterations, Boolean replanRequested)
-
-
-
-