feat: Bump version to 2.5.12 in pom.xml and add metadata setting 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>2.5.11</version>
|
<version>2.5.12</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>25</java.version>
|
<java.version>25</java.version>
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user