Combined unnecessary dual prompt template parameters instruction and text to user

This commit is contained in:
extio-de
2025-06-27 17:17:27 +02:00
parent 4e52c1c4ce
commit 5b5f56fa15
12 changed files with 34 additions and 69 deletions

View File

@@ -168,7 +168,7 @@ public class TextCompletionClient implements Client, DisposableBean {
}
if (first && userTurn != null) {
prompt.append(promptStrategy.start(systemTurn != null ? systemTurn.text() : "", "", userTurn.text()));
prompt.append(promptStrategy.start(systemTurn != null ? systemTurn.text() : "", userTurn.text()));
userTurn = null;
first = false;
}