diff options
| author | Castor Regex <[email protected]> | 2025-08-31 22:26:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-31 22:26:49 -0500 |
| commit | 8c8fccc650bfe313e522aaf80dcccb3600566a22 (patch) | |
| tree | 421d60f0a183ac97458e56d2b943878a0dd9b9bd /doPlayback.go | |
| parent | 535cb98744a805be7e6f00e0e7291ac241ed197e (diff) | |
feat: print last playback UUID
Diffstat (limited to 'doPlayback.go')
| -rw-r--r-- | doPlayback.go | 7 |
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 |
