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 41f492c commit 7e2b8bdCopy full SHA for 7e2b8bd
firebase-ai/src/main/kotlin/com/google/firebase/ai/type/GenerateContentResponse.kt
@@ -54,7 +54,7 @@ public class GenerateContentResponse(
54
* [thinking](https://firebase.google.com/docs/ai-logic/thinking?api=dev).
55
*/
56
public val functionCalls: List<FunctionCallPart> by lazy {
57
- candidates.firstOrNull()?.content?.parts?.filterIsInstance<FunctionCallPart>().orEmpty()
+ candidates.firstOrNull()?.nonThoughtParts()?.filterIsInstance<FunctionCallPart>().orEmpty()
58
}
59
60
/**
0 commit comments