Skip to content

Commit 4965fc9

Browse files
committed
[GH-3723] Vertex AI Gemini logprobs support
Closes GH-3723 Signed-off-by: Rodrigo Malara <[email protected]>
1 parent 49eee92 commit 4965fc9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

models/spring-ai-vertex-ai-gemini/src/main/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatModel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ protected List<Generation> responseCandidateToGeneration(Candidate candidate) {
592592
.toList()))
593593
.toList();
594594

595-
// Convert from VertexAI protobuf to VertexAiGeminiApi DTOs
596595
List<VertexAiGeminiApi.LogProbs.Content> chosenCandidates = candidate.getLogprobsResult()
597596
.getChosenCandidatesList()
598597
.stream()

0 commit comments

Comments
 (0)