summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-01 00:29:48 -0500
committerJeff Carr <[email protected]>2025-09-01 00:29:48 -0500
commit4a800a7cfd6e8d59b021ff1b5a0ea9d42b89b7b3 (patch)
treef6343d4cf86e121e5874f85502a4822613e54093 /structs.go
parenteba85c6b97dbbab8b9b437e557a3dd5e6de41984 (diff)
attempts to submit data to the Gemini API
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go11
1 files changed, 8 insertions, 3 deletions
diff --git a/structs.go b/structs.go
index a66f1fd..16c63e9 100644
--- a/structs.go
+++ b/structs.go
@@ -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
}