File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ public struct GenerateContentResponse: Sendable {
91
91
/// Returns inline data parts found in any `Part`s of the first candidate of the response, if any.
92
92
public var inlineDataParts : [ InlineDataPart ] {
93
93
guard let candidate = candidates. first else {
94
- VertexLog . error (
95
- code : . generateContentResponseNoCandidates ,
96
- " Could not get inline data parts because the response has no candidates. The accessor only checks the first candidate."
97
- )
94
+ VertexLog . error ( code : . generateContentResponseNoCandidates , """
95
+ Could not get inline data parts because the response has no candidates. The accessor only \
96
+ checks the first candidate.
97
+ """ )
98
98
return [ ]
99
99
}
100
100
return candidate. content. parts. compactMap { $0 as? InlineDataPart }
You can’t perform that action at this time.
0 commit comments