Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
rlazo committed Aug 20, 2024
1 parent 1f5f19a commit 1251870
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ internal fun Part.toPublic(): com.google.ai.client.generativeai.type.Part {
}

internal fun CitationSources.toPublic() =
CitationMetadata(startIndex = startIndex, endIndex = endIndex, uri = uri ?: "", license = license)
CitationMetadata(startIndex = startIndex, endIndex = endIndex, uri = uri ?: "", license = license)

internal fun SafetyRating.toPublic() =
com.google.ai.client.generativeai.type.SafetyRating(category.toPublic(), probability.toPublic())
Expand Down

0 comments on commit 1251870

Please sign in to comment.