Skip to content

Commit

Permalink
Update samples/src/main/java/com/google/ai/client/generative/samples/…
Browse files Browse the repository at this point in the history
…code_execution.kt

Co-authored-by: Daymon <[email protected]>
  • Loading branch information
rlazo and daymxn authored Jul 17, 2024
1 parent 3720710 commit 6a68706
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ suspend fun codeExecutionBasic() {
// Each `part` either contains `text`, `executable_code` or an `execution_result`
println(response.candidates[0].content.parts.joinToString("\n"))

// Alternatively, you can use the `text` accessor joins the parts into a markdown compatible
// Alternatively, you can use the `text` accessor which joins the parts into a markdown compatible
// text representation
println(response.text)
// [END code_execution_basic]
Expand Down

0 comments on commit 6a68706

Please sign in to comment.