summaryrefslogtreecommitdiff
path: root/doPlayback.go
diff options
context:
space:
mode:
authorCastor Regex <[email protected]>2025-08-31 22:26:49 -0500
committerJeff Carr <[email protected]>2025-08-31 22:26:49 -0500
commit8c8fccc650bfe313e522aaf80dcccb3600566a22 (patch)
tree421d60f0a183ac97458e56d2b943878a0dd9b9bd /doPlayback.go
parent535cb98744a805be7e6f00e0e7291ac241ed197e (diff)
feat: print last playback UUID
Diffstat (limited to 'doPlayback.go')
-rw-r--r--doPlayback.go7
1 files changed, 7 insertions, 0 deletions
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