UPDATE 01-oct

This commit is contained in:
PAVEL PALMA
2025-10-01 17:27:10 -06:00
parent 320b98c6f8
commit aef0504b82
10 changed files with 46 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
/*
* Copyright 2025 Google. This software is provided as-is, without warranty or representation for any use or purpose.
* Your use of it is subject to your agreement with Google.
*/
package com.example.service.conversation;
import reactor.core.publisher.Mono;

View File

@@ -1,3 +1,8 @@
/*
* Copyright 2025 Google. This software is provided as-is, without warranty or representation for any use or purpose.
* Your use of it is subject to your agreement with Google.
*/
package com.example.service.conversation;
import com.google.api.core.ApiFuture;

View File

@@ -71,7 +71,6 @@ public class MemoryStoreConversationService {
ConversationSessionDTO sessionWithPantallaContexto = (pantallaContexto != null) ? sessionWithUpdatedTelefono.withPantallaContexto(pantallaContexto) : sessionWithUpdatedTelefono;
ConversationSessionDTO updatedSession = sessionWithPantallaContexto.withAddedEntry(newEntry);
logger.debug("Updated session to be saved in Memorystore: {}", updatedSession);
logger.info("Attempting to set updated session {} with new entry entity {} in Redis.", sessionId, newEntry.entity().name());
return redisTemplate.opsForValue().set(sessionKey, updatedSession)