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

fix(vertexai/genai): check for nil content #10057

Merged
merged 2 commits into from Apr 29, 2024
Merged

fix(vertexai/genai): check for nil content #10057

merged 2 commits into from Apr 29, 2024

Conversation

jba
Copy link
Contributor

@jba jba commented Apr 27, 2024

A candidate's Content field can be nil. Check
for that to avoid a null pointer crash.

The go.sum changes are the result of go mod tidy.

A candidate's Content field can be nil. Check
for that to avoid a null pointer crash.

The go.sum changes are the result of `go mod tidy`.
@jba jba merged commit 22e3eae into main Apr 29, 2024
12 checks passed
@jba jba deleted the fix-nil-content branch April 29, 2024 19:46
ma-g-22 pushed a commit to ma-g-22/google-cloud-go that referenced this pull request Apr 29, 2024
A candidate's Content field can be nil. Check
for that to avoid a null pointer crash.

The go.sum changes are the result of `go mod tidy`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants