Skip to content

Commit d1f6f97

Browse files
committed
update comment
1 parent 5c9b611 commit d1f6f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class GenerateContentResponse(
4444
candidates.first().content.parts.filterIsInstance<FunctionCallPart>()
4545
}
4646

47-
/** Convenience field to list all the [InlineDataPart]s in the response, if they exist. */
47+
/** Returns inline data parts found in any `Part`s of the first candidate of the response, if any. */
4848
public val inlineDataParts: List<InlineDataPart> by lazy {
4949
candidates.first().content.parts.let { parts ->
5050
parts.filterIsInstance<ImagePart>().map { it.toInlineDataPart() } +

0 commit comments

Comments
 (0)