summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doConnect.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/doConnect.go b/doConnect.go
index 8eb2674..1c29f04 100644
--- a/doConnect.go
+++ b/doConnect.go
@@ -52,20 +52,3 @@ func simpleHello() error {
}
return nil
}
-
-func submitChat(content []*genai.Content) error {
- resp, err := me.client.Models.GenerateContent(me.ctx, "gemini-2.5-flash", content, nil)
- if err != nil {
- return log.Errorf("error sending message: %v", err)
- }
-
- log.Info("Response from API:")
- for _, cand := range resp.Candidates {
- if cand.Content != nil {
- for _, part := range cand.Content.Parts {
- fmt.Println(part)
- }
- }
- }
- return nil
-}