Skip to content

Commit

Permalink
docs: Remove repeated docstring for interrupted in docs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 719366400
  • Loading branch information
sasha-gitg authored and copybara-github committed Jan 24, 2025
1 parent 81150b3 commit 230cfbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/genai/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -8010,7 +8010,7 @@ class LiveServerContent(_common.BaseModel):
)
interrupted: Optional[bool] = Field(
default=None,
description="""If true, indicates that a client message has interrupted current model generation. If the client is playing out the content in realtime, this is a good signal to stop and empty the current queue. If the client is playing out the content in realtime, this is a good signal to stop and empty the current playback queue.""",
description="""If true, indicates that a client message has interrupted current model generation. If the client is playing out the content in realtime, this is a good signal to stop and empty the current queue.""",
)


Expand All @@ -8028,7 +8028,7 @@ class LiveServerContentDict(TypedDict, total=False):
"""If true, indicates that the model is done generating. Generation will only start in response to additional client messages. Can be set alongside `content`, indicating that the `content` is the last in the turn."""

interrupted: Optional[bool]
"""If true, indicates that a client message has interrupted current model generation. If the client is playing out the content in realtime, this is a good signal to stop and empty the current queue. If the client is playing out the content in realtime, this is a good signal to stop and empty the current playback queue."""
"""If true, indicates that a client message has interrupted current model generation. If the client is playing out the content in realtime, this is a good signal to stop and empty the current queue."""


LiveServerContentOrDict = Union[LiveServerContent, LiveServerContentDict]
Expand Down

0 comments on commit 230cfbc

Please sign in to comment.