Class DefaultAgentExecutor
java.lang.Object
ai.agentscentral.core.agentic.executor.DefaultAgentExecutor
- All Implemented Interfaces:
AgentExecutor,AgenticExecutor<Agent>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAgentExecutor(Agent agent, AgentJFactory agentJFactory, ContextManager contextManager, HandoffExecutor handoffExecutor) -
Method Summary
-
Constructor Details
-
DefaultAgentExecutor
public DefaultAgentExecutor(Agent agent, AgentJFactory agentJFactory, ContextManager contextManager, HandoffExecutor handoffExecutor)
-
-
Method Details
-
execute
public List<Message> execute(@Nonnull String contextId, @Nullable User user, List<Message> previousContext, List<Message> newMessages, String currentAgenticName, MessageExecutionContext executionContext) - Specified by:
executein interfaceAgenticExecutor<Agent>
-
getAgentic
- Specified by:
getAgenticin interfaceAgenticExecutor<Agent>
-