Class RepeatUntilActionContext
-
- All Implemented Interfaces:
-
com.embabel.agent.api.common.ActionContext,com.embabel.agent.api.common.ExecutingOperationContext,com.embabel.agent.api.common.InputActionContext,com.embabel.agent.api.common.InputsActionContext,com.embabel.agent.api.common.OperationContext,com.embabel.agent.api.event.AgenticEventListener,com.embabel.agent.core.Bindable,com.embabel.agent.core.Blackboard,com.embabel.agent.core.MayHaveLastResult,com.embabel.agent.core.ToolGroupConsumer,com.embabel.common.core.types.HasInfoString
public final class RepeatUntilActionContext<INPUT extends Object, RESULT extends Object> implements InputActionContext<INPUT>, Blackboard, AgenticEventListener
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<ToolGroupRequirement>toolGroupsprivate final Actionoperationprivate final INPUTinputprivate final ProcessContextprocessContextprivate final Actionactionprivate final Class<INPUT>inputClassprivate final Class<RESULT>outputClassprivate final ResultHistory<RESULT>historyprivate final List<Object>inputsprivate final AgentProcessagentProcessprivate final StringblackboardIdprivate final List<Object>objects
-
Constructor Summary
Constructors Constructor Description RepeatUntilActionContext(INPUT input, ProcessContext processContext, Action action, Class<INPUT> inputClass, Class<RESULT> outputClass, ResultHistory<RESULT> history)
-
Method Summary
Modifier and Type Method Description Set<ToolGroupRequirement>getToolGroups()ActiongetOperation()Action or operation that is being executed. INPUTgetInput()ProcessContextgetProcessContext()ActiongetAction()final Class<INPUT>getInputClass()final Class<RESULT>getOutputClass()final ResultHistory<RESULT>getHistory()final RESULTlastAttempt()Get the last attempt result if available. -
Methods inherited from class com.embabel.agent.api.common.InputActionContext
getInputs -
Methods inherited from class com.embabel.agent.api.common.OperationContext
agentPlatform, ai, fireAgent, getAgentProcess, parallelMap, promptRunner, user -
Methods inherited from class com.embabel.agent.core.Blackboard
clear, count, expressionEvaluationModel, get, getBlackboardId, getCondition, getObjects, getOrPut, getValue, hasValue, hide, last, lastResult, objectsOfType, setCondition, spawn -
Methods inherited from class com.embabel.agent.api.common.InputsActionContext
domainObjectInstances -
Methods inherited from class com.embabel.agent.api.common.ActionContext
promptRunner -
Methods inherited from class com.embabel.agent.api.common.ExecutingOperationContext
asSubProcess, asSubProcess, sendAndSave, sendMessage, sendOutputChannelEvent, updateProgress -
Methods inherited from class com.embabel.agent.core.Bindable
addAll, addObject, bind, bindAll, bindProtected, plusAssign, plusAssign, plusAssign, set -
Methods inherited from class com.embabel.common.core.types.HasInfoString
infoString -
Methods inherited from class com.embabel.agent.api.event.AgenticEventListener
onPlatformEvent, onProcessEvent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RepeatUntilActionContext
RepeatUntilActionContext(INPUT input, ProcessContext processContext, Action action, Class<INPUT> inputClass, Class<RESULT> outputClass, ResultHistory<RESULT> history)
-
-
Method Detail
-
getToolGroups
Set<ToolGroupRequirement> getToolGroups()
-
getOperation
Action getOperation()
Action or operation that is being executed.
-
getProcessContext
ProcessContext getProcessContext()
-
getInputClass
final Class<INPUT> getInputClass()
-
getOutputClass
final Class<RESULT> getOutputClass()
-
getHistory
final ResultHistory<RESULT> getHistory()
-
lastAttempt
final RESULT lastAttempt()
Get the last attempt result if available.
-
-
-
-