chore: Bump version to 1.6.24 in pom.xml and update logging for conversation 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.23</version>
|
<version>1.6.24</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
|
|||||||
@@ -96,12 +96,12 @@ public interface BaseAgent {
|
|||||||
|
|
||||||
if (!skipCompletion) {
|
if (!skipCompletion) {
|
||||||
final var conversation = this.setupConversation(split);
|
final var conversation = this.setupConversation(split);
|
||||||
LOGGER.debug("Conversation: {}", conversation);
|
|
||||||
|
|
||||||
boolean parseable = false;
|
boolean parseable = false;
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 2; i++) {
|
||||||
final var responseHandler = this.responseHandler();
|
LOGGER.debug("Conversation: {}", conversation);
|
||||||
|
|
||||||
|
final var responseHandler = this.responseHandler();
|
||||||
Completion completion = null;
|
Completion completion = null;
|
||||||
if (split.context().isStreaming()) {
|
if (split.context().isStreaming()) {
|
||||||
if (responseHandler instanceof final StreamedAgentResponseHandler streamedResponseHandler) {
|
if (responseHandler instanceof final StreamedAgentResponseHandler streamedResponseHandler) {
|
||||||
|
|||||||
Reference in New Issue
Block a user