Skip to content

Commit 57e2d40

Browse files
committed
Update docs for boolean value changes
1 parent e8e6370 commit 57e2d40

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

FirebaseAI/Sources/Types/Public/Live/LiveServerContent.swift

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,13 @@ public struct LiveServerContent: Sendable {
4545
/// The model has finished _generating_ data for the current turn.
4646
///
4747
/// 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.
5552
///
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``.
5855
public var isGenerationComplete: Bool? { serverContent.generationComplete }
5956

6057
/// Metadata specifing the sources used to ground generated content.

0 commit comments

Comments
 (0)