diff options
Diffstat (limited to 'doPlayback.go')
| -rw-r--r-- | doPlayback.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doPlayback.go b/doPlayback.go index 2db75ae..8482805 100644 --- a/doPlayback.go +++ b/doPlayback.go @@ -77,9 +77,9 @@ func listChats(chats *chatpb.Chats) { // 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()) - dumpchat(lastChat) + me.lastChat = chats.GetChats()[numChats-1] + log.Printf("The current Gemini API session is UUID: %s\n", me.lastChat.GetUuid()) + dumpchat(me.lastChat) } } |
