diff --git a/doPlayback.go b/doPlayback.go index 2302d12..d6ce604 100644 --- a/doPlayback.go +++ b/doPlayback.go @@ -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