chore: Bump version to 1.6.17 and add context update handling in BaseAgent
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<artifactId>lm-lib</artifactId>
|
<artifactId>lm-lib</artifactId>
|
||||||
<groupId>de.extio</groupId>
|
<groupId>de.extio</groupId>
|
||||||
<name>lm-lib</name>
|
<name>lm-lib</name>
|
||||||
<version>1.6.16</version>
|
<version>1.6.17</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
|
|||||||
@@ -76,6 +76,9 @@ public interface BaseAgent {
|
|||||||
context.setNextAgent(null);
|
context.setNextAgent(null);
|
||||||
|
|
||||||
this.preProcess(context);
|
this.preProcess(context);
|
||||||
|
if (context.getAgentContextUpdateConsumer() != null) {
|
||||||
|
context.getAgentContextUpdateConsumer().accept(context);
|
||||||
|
}
|
||||||
|
|
||||||
splits.addAll(this.applyTemplate(context));
|
splits.addAll(this.applyTemplate(context));
|
||||||
final var tasks = new ArrayList<CompletableFuture<?>>(splits.size());
|
final var tasks = new ArrayList<CompletableFuture<?>>(splits.size());
|
||||||
|
|||||||
Reference in New Issue
Block a user