We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2e7116 commit c4f685dCopy full SHA for c4f685d
FirebaseVertexAI/Sources/GenerateContentResponse.swift
@@ -97,15 +97,15 @@ public struct GenerateContentResponse: Sendable {
97
)
98
return []
99
}
100
- let inlineData: [InlineDataPart] = candidate.content.parts.compactMap { part in
+ let inlineDataParts: [InlineDataPart] = candidate.content.parts.compactMap { part in
101
switch part {
102
case let inlineDataPart as InlineDataPart:
103
return inlineDataPart
104
default:
105
return nil
106
107
108
- return inlineData
+ return inlineDataParts
109
110
111
/// Initializer for SwiftUI previews or tests.
0 commit comments