Skip to content

Commit 72e4c32

Browse files
committed
Fix log code for empty candidates message
1 parent 9efe659 commit 72e4c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/GenerativeModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public final class GenerativeModel: Sendable {
250250
if response.candidates.allSatisfy({ $0.isEmpty }) {
251251
AILog.log(
252252
level: .debug,
253-
code: .generateContentResponseNoCandidates,
253+
code: .generateContentResponseEmptyCandidates,
254254
"Skipped response with all empty candidates: \(response)"
255255
)
256256
} else {

0 commit comments

Comments
 (0)