Skip to content

Commit

Permalink
ktfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
David Motsonashvili committed Jun 4, 2024
1 parent eda2f8f commit 5e07ea5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,5 @@ fun textGenerateContentRequest(prompt: String) =
contents = listOf(Content(parts = listOf(TextPart(prompt)))),
)

fun textCountTokenRequest(prompt: String) = CountTokensRequest(generateContentRequest = textGenerateContentRequest(prompt))
fun textCountTokenRequest(prompt: String) =
CountTokensRequest(generateContentRequest = textGenerateContentRequest(prompt))

0 comments on commit 5e07ea5

Please sign in to comment.