feat: print last playback UUID

This commit is contained in:
Castor Regex 2025-08-31 22:26:49 -05:00 committed by Jeff Carr
parent 535cb98744
commit 8c8fccc650
1 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,13 @@ func listChats(chats *chatpb.Chats) {
)
}
log.Println("-------------------------------------------------")
// Get the last chat
numChats := len(chats.GetChats())
if numChats > 0 {
lastChat := chats.GetChats()[numChats-1]
log.Printf("The current Gemini API session is UUID: %s\n", lastChat.GetUuid())
}
}
// print out one line for each chat entry