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 9cb17fc commit 2422c71Copy full SHA for 2422c71
FirebaseAI/Sources/Types/Public/Live/LiveServerMessage.swift
@@ -19,6 +19,10 @@ public struct LiveServerMessage: Sendable {
19
let serverMessage: BidiGenerateContentServerMessage
20
21
/// The type of message sent from the server.
22
+ /// - Important: Potential future additions to the ``Payload`` enum may not
23
+ /// trigger a semantic versioning major version update. If ensure forward
24
+ /// compatibility, client code should avoid exhaustive switch statements
25
+ /// over this enum by adding a default case.
26
public enum Payload: Sendable {
27
/// Content generated by the model in response to client messages.
28
case content(LiveServerContent)
0 commit comments