File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,17 @@ public struct GenerateContentResponse: Sendable {
57
57
public let usageMetadata : UsageMetadata ?
58
58
59
59
/// The response's content as text, if it exists.
60
+ ///
61
+ /// - Note: This does not include thought summaries; see ``thoughtSummary`` for more details.
60
62
public var text : String ? {
61
63
return text ( isThought: false )
62
64
}
63
65
66
+ /// A summary of the model's thinking process, if available.
67
+ ///
68
+ /// - Important: Thought summaries are only available when `includeThoughts` is enabled in the
69
+ /// ``ThinkingConfig``. For more information, see the
70
+ /// [Thinking](https://firebase.google.com/docs/ai-logic/thinking) documentation.
64
71
public var thoughtSummary : String ? {
65
72
return text ( isThought: true )
66
73
}
You can’t perform that action at this time.
0 commit comments