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
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 <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
0 commit comments