feat: Bump version to 2.5.12 in pom.xml and add metadata setting in BaseAgent

This commit is contained in:
extio-de
2026-05-02 15:20:42 +02:00
parent 713a226e4c
commit c23b3ee202
2 changed files with 2 additions and 1 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>2.5.11</version> <version>2.5.12</version>
<properties> <properties>
<java.version>25</java.version> <java.version>25</java.version>

View File

@@ -426,6 +426,7 @@ public interface BaseAgent {
final var lastUserTurn = conversation.getConversation().getLast(); final var lastUserTurn = conversation.getConversation().getLast();
conversation.replaceTurn(new Turn(TurnType.USER, lastUserTurn.text() + "\n" + split.text())); conversation.replaceTurn(new Turn(TurnType.USER, lastUserTurn.text() + "\n" + split.text()));
} }
conversation.setMetadata("Agent: " + this.name());
} }
return conversation; return conversation;
} }