Skip to content

Commit

Permalink
fix: broken code
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcguire1 committed Dec 14, 2023
1 parent a692649 commit 33f9613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dom/chatmodels/gemini_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 33f9613

Please sign in to comment.