Skip to content

Commit

Permalink
started history then stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Oct 24, 2024
1 parent 6f058c8 commit 31c89ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/java/org/myrobotlab/service/LLM.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,13 @@ public Response getResponseStream(String text) {
userTextMessages.clear();
}

String finalText = systemContent + " " + text;
StringBuilder userText = new StringBuilder("");
for (String t : userTextMessages) {
userText.append(t);
userText.append(" ");
}

String finalText = systemContent + " " + text;

// sentence chunking stream processing
final StringBuilder[] sentenceBuilder = { new StringBuilder() };
Expand Down

0 comments on commit 31c89ce

Please sign in to comment.