You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Initialize the Google AI plugin. When you pass an empty string for the
// apiKey parameter, the Google AI plugin will use the value from the
// GOOGLE_GENAI_API_KEY environment variable, which is the recommended
// practice.
if err := googleai.Init(ctx, nil); err != nil {
log.Fatal(err)
}
Is your report related to a problem? Please describe.
Following the tutorial at https://firebase.google.com/docs/genkit-go/get-started-go, the generated code has:
However, there's no "apiKey" parameter. It now seems to be a field on https://pkg.go.dev/github.com/firebase/genkit/go@v0.1.0/plugins/googleai#Config, and
nil
is passedThe text was updated successfully, but these errors were encountered: