We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2b8bd commit 0aa1e88Copy full SHA for 0aa1e88
firebase-ai/src/main/kotlin/com/google/firebase/ai/type/GenerateContentResponse.kt
@@ -64,7 +64,7 @@ public class GenerateContentResponse(
64
* Learn more about [thinking](https://firebase.google.com/docs/ai-logic/thinking?api=dev).
65
*/
66
public val thoughtSummary: String? by lazy {
67
- candidates.firstOrNull()?.thoughtParts()?.filterIsInstance<TextPart>()?.joinToString(" ")
+ candidates.firstOrNull()?.thoughtParts()?.filterIsInstance<TextPart>()?.joinToString(" ") { it.text }
68
}
69
70
/**
0 commit comments