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
…java/code_execution.java

Co-authored-by: Daymon <[email protected]>
  • Loading branch information
rlazo and daymxn authored Jul 17, 2024
1 parent e77b2b6 commit 02fff78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void onSuccess(GenerateContentResponse result) {
System.out.println(part);
}

// Alternatively, you can use the `text` accessor joins the parts into a
// Alternatively, you can use the `text` accessor which joins the parts into a
// markdown compatible text representation
String resultText = result.getText();
System.out.println(resultText);
Expand Down

0 comments on commit 02fff78

Please sign in to comment.