Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix candidate
index
for new -002 models and enable candidateCount
For unknown reason 0-index is absent in new -002 models response Ref: https://ai.google.dev/api/generate-content#v1beta.Candidate Note: atm `candidateCount` works only for -002 models (but not for `streamGenerateContent` endpoint)
- Loading branch information