Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Dec 5, 2024
1 parent fb80e0b commit 5729200
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public MessageDTO sendMessage(String content, Long sessionId) {

}

private String generateResponse(Long session_id, String messageContent) {
List<Message> messages = messageRepository.findBySessionId(session_id);
private String generateResponse(Long sessionId, String messageContent) {
List<Message> messages = messageRepository.findBySessionId(sessionId);

ChatRequest chatRequest = new ChatRequest();
chatRequest.setMessageHistory(messages.stream()
Expand Down

0 comments on commit 5729200

Please sign in to comment.