feat: print last playback UUID
This commit is contained in:
parent
535cb98744
commit
8c8fccc650
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue