Update version to 1.5.4 and enhance BaseAgent's chooseNext method

This commit is contained in:
extio-de
2025-06-23 13:31:49 +02:00
parent 52963e4eed
commit cf6b868d3c
3 changed files with 8 additions and 3 deletions

View File

@@ -66,7 +66,11 @@ public interface BaseAgent {
}
default Function<AgentContext, AgentNext> chooseNext() {
return context -> new AgentNext(null, null);
return this::chooseNext;
}
default AgentNext chooseNext(final AgentContext context) {
return new AgentNext(null, null);
}
default List<AgentContext> execute(final Client client, final ExecutorService agentExecutorService, final AgentContext context) {