chore: Bump version to 1.6.18 and fix branch agent retrieval logic in AgentExecutorService

This commit is contained in:
extio-de
2025-09-25 15:23:02 +02:00
parent 3680fe7854
commit e5ef603e5b
2 changed files with 2 additions and 2 deletions

View File

@@ -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.17</version> <version>1.6.18</version>
<properties> <properties>
<java.version>21</java.version> <java.version>21</java.version>

View File

@@ -96,7 +96,7 @@ public class AgentExecutorService implements InitializingBean, DisposableBean {
} }
if (!branchContext.isError() && branchContext.getNextAgent() != null) { if (!branchContext.isError() && branchContext.getNextAgent() != null) {
final var branchAgent = context.getAgents().get(branchContext.getNextAgent().name()); final var branchAgent = branchContext.getAgents().get(branchContext.getNextAgent().name());
if (branchAgent == null) { if (branchAgent == null) {
throw new IllegalArgumentException("Agent not found: " + branchContext.getNextAgent().name()); throw new IllegalArgumentException("Agent not found: " + branchContext.getNextAgent().name());
} }