Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4340939

Browse files
Annhiluccopybara-github
authored andcommitted
fix: Update RealtimeClientLiveMessage realtime content parameter field.
PiperOrigin-RevId: 711423951
1 parent 5586f3d commit 4340939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/genai/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7992,7 +7992,7 @@ class LiveClientMessage(_common.BaseModel):
79927992
default=None,
79937993
description="""Incremental update of the current conversation delivered from the client.""",
79947994
)
7995-
realtime_update: Optional[LiveClientRealtimeInput] = Field(
7995+
realtime_input: Optional[LiveClientRealtimeInput] = Field(
79967996
default=None, description="""User input that is sent in real time."""
79977997
)
79987998
tool_response: Optional[LiveClientToolResponse] = Field(
@@ -8010,7 +8010,7 @@ class LiveClientMessageDict(TypedDict, total=False):
80108010
client_content: Optional[LiveClientContentDict]
80118011
"""Incremental update of the current conversation delivered from the client."""
80128012

8013-
realtime_update: Optional[LiveClientRealtimeInputDict]
8013+
realtime_input: Optional[LiveClientRealtimeInputDict]
80148014
"""User input that is sent in real time."""
80158015

80168016
tool_response: Optional[LiveClientToolResponseDict]

0 commit comments

Comments
 (0)