From 33f9613fc106a6d7e52d99502d79a27b4927cda4 Mon Sep 17 00:00:00 2001 From: jackmc Date: Thu, 14 Dec 2023 20:03:19 +0000 Subject: [PATCH] fix: broken code --- internal/dom/chatmodels/gemini_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dom/chatmodels/gemini_api.go b/internal/dom/chatmodels/gemini_api.go index 44be53e..93581cb 100644 --- a/internal/dom/chatmodels/gemini_api.go +++ b/internal/dom/chatmodels/gemini_api.go @@ -21,7 +21,7 @@ func NewGeminiApiClient(token string) *GeminiApiClient { } func (api *GeminiApiClient) GeminiChat(ctx context.Context, prompt string) (*genai.GenerateContentResponse, error) { - client, err := genai.NewClient(ctx, option.WithAPIKey(api.Token), option.WithQuotaProject(""), option.) + client, err := genai.NewClient(ctx, option.WithAPIKey(api.Token)) if err != nil { log.Fatal(err) }