We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f058c8 commit 31c89ceCopy full SHA for 31c89ce
src/main/java/org/myrobotlab/service/LLM.java
@@ -255,7 +255,13 @@ public Response getResponseStream(String text) {
255
userTextMessages.clear();
256
}
257
258
- String finalText = systemContent + " " + text;
+ StringBuilder userText = new StringBuilder("");
259
+ for (String t : userTextMessages) {
260
+ userText.append(t);
261
+ userText.append(" ");
262
+ }
263
+
264
+ String finalText = systemContent + " " + text;
265
266
// sentence chunking stream processing
267
final StringBuilder[] sentenceBuilder = { new StringBuilder() };
0 commit comments