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.
includeThought
1 parent fd54bec commit c9bc3baCopy full SHA for c9bc3ba
firebase-ai/src/main/kotlin/com/google/firebase/ai/type/ThinkingConfig.kt
@@ -43,6 +43,14 @@ private constructor(
43
this.thinkingBudget = thinkingBudget
44
}
45
46
+ /**
47
+ * Indicates whether to request the model to include the thoughts parts in the response.
48
+ *
49
+ * Keep in mind that once enabled, you should check for the `isThought` property when processing
50
+ * a `Part` instance to correctly handle both thoughts and the actual response.
51
52
+ * The default value is `false`.
53
+ */
54
public fun setIncludeThoughts(includeThoughts: Boolean): Builder = apply {
55
this.includeThoughts = includeThoughts
56
0 commit comments