Skip to content

Commit

Permalink
Removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanj committed May 16, 2024
1 parent 5548989 commit 5c714f0
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,6 @@ public boolean isRunning() {
return running;
}

/**
* Init chat memory.
* @param chatMessageContext the chat message context
*/
private void initChatMemory(ChatMessageContext chatMessageContext) {
if (chatMemory.messages().isEmpty()) {
chatMemory.add(createSystemMessage(chatMessageContext));
}
chatMemory.add(chatMessageContext.getUserMessage());
}

/**
* Create a system message.
* @param chatMessageContext the language text pair
Expand Down

0 comments on commit 5c714f0

Please sign in to comment.