commit | 2c6db717741b2c3e7c0acbea8a111d8229ab6608 | [log] [tgz] |
---|---|---|
author | Tatiana Bradley <tatianabradley@google.com> | Mon Jan 29 15:55:49 2024 -0500 |
committer | Tatiana Bradley <tatianabradley@google.com> | Fri Feb 02 15:57:33 2024 +0000 |
tree | a951fa6979905a9c977e91477bf8395a22dc45b4 | |
parent | 079fd4d30d26a08fc095544760f7a47444b992fb [diff] |
cmd/vulnreport: fix handling of numSuggestions for Gemini Unlike the PaLM API, which could generate multiple candidate responses at once, the Gemini API only gives one response at a time (at least for now). To accommodate this, modify suggest to make a separate request to the API to generate each suggestion. Change-Id: I5c3adce302abdb5228aef7a8a94d8b3ee5881371 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/559599 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
This repository contains the infrastructure and internal reports to create the Go Vulnerability Database.
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
Click here to report a public vulnerability in the Go ecosystem, or give feedback about the project.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries are distributed under the terms of the CC-BY-4.0 license. See go.dev/security/vuln/database for information on how to access these entries.