chore: Bump version to 1.6.18 and fix branch agent retrieval logic in AgentExecutorService
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<artifactId>lm-lib</artifactId>
|
||||
<groupId>de.extio</groupId>
|
||||
<name>lm-lib</name>
|
||||
<version>1.6.17</version>
|
||||
<version>1.6.18</version>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
|
||||
@@ -96,7 +96,7 @@ public class AgentExecutorService implements InitializingBean, DisposableBean {
|
||||
}
|
||||
|
||||
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) {
|
||||
throw new IllegalArgumentException("Agent not found: " + branchContext.getNextAgent().name());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user