diff options
| author | Jeff Carr <[email protected]> | 2025-09-01 00:29:48 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-01 00:29:48 -0500 |
| commit | 4a800a7cfd6e8d59b021ff1b5a0ea9d42b89b7b3 (patch) | |
| tree | f6343d4cf86e121e5874f85502a4822613e54093 /structs.go | |
| parent | eba85c6b97dbbab8b9b437e557a3dd5e6de41984 (diff) | |
attempts to submit data to the Gemini API
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -4,16 +4,21 @@ package main import ( + "context" + "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" "go.wit.com/lib/protobuf/chatpb" + "google.golang.org/genai" ) var me *mainType // this app's variables type mainType struct { - pp *arg.Parser // for parsing the command line args. Yay to alexf lint! - chats *chatpb.Chats // all our prior conversations with regex - myGui *gui.Node // the gui toolkit handle + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! + chats *chatpb.Chats // all our prior conversations with regex + myGui *gui.Node // the gui toolkit handle + client *genai.Client // the Google Gemini AI client variable + ctx context.Context } |
