Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs][Go] stale reference in code generated by 'genkit init' #805

Open
eliben opened this issue Aug 20, 2024 · 1 comment
Open

[Docs][Go] stale reference in code generated by 'genkit init' #805

eliben opened this issue Aug 20, 2024 · 1 comment
Labels
docs Improvements or additions to documentation

Comments

@eliben
Copy link

eliben commented Aug 20, 2024

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:

	// 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)
	}

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 passed

@eliben eliben added the docs Improvements or additions to documentation label Aug 20, 2024
@thedmail
Copy link
Contributor

What's the actual desired docs change here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
Status: No status
Development

No branches or pull requests

2 participants