File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
FirebaseAI/Sources/Types/Public/Live Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,13 @@ public struct LiveServerContent: Sendable {
45
45
/// The model has finished _generating_ data for the current turn.
46
46
///
47
47
/// For realtime playback, there will be a delay between when the model finishes generating
48
- /// content
49
- /// and the client has finished playing back the generated content. ``generationComplete``
50
- /// indicates
51
- /// that the model is done generating data, while ``turnComplete`` indicates the model is waiting
52
- /// for
53
- /// additional client messages. Sending a message during this delay may cause an ``interrupted``
54
- /// message to be sent.
48
+ /// content and the client has finished playing back the generated content. ``generationComplete``
49
+ /// indicates that the model is done generating data, while ``turnComplete`` indicates the model
50
+ /// is waiting for additional client messages. Sending a message during this delay may cause a
51
+ /// ``wasInterrupted`` message to be sent.
55
52
///
56
- /// Note that if the model was ``interrupted ``, this will not be set. The model will go from
57
- /// ``interrupted `` -> ``turnComplete``.
53
+ /// Note that if the model ``wasInterrupted ``, this will not be set. The model will go from
54
+ /// ``wasInterrupted `` -> ``turnComplete``.
58
55
public var isGenerationComplete : Bool ? { serverContent. generationComplete }
59
56
60
57
/// Metadata specifing the sources used to ground generated content.
You can’t perform that action at this time.
0 commit comments