Skip to content

fix: Fix Vertex AI Live API session replay on reconnect / modality switch#6218

Open
wukath wants to merge 1 commit into
v1from
fix-vertex-live-replay-v1
Open

fix: Fix Vertex AI Live API session replay on reconnect / modality switch#6218
wukath wants to merge 1 commit into
v1from
fix-vertex-live-replay-v1

Conversation

@wukath

@wukath wukath commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Previously seeding Gemini 3.1 live history on Vertex AI collapsed turns into a single user turn and hardcoded turn_complete=True, causing the model to immediately trigger a tool call upon reconnect. Since history_config is now supported on Vertex AI, we can remove the workaround and determine turn_complete based on the last turn role (preventing model execution when history ends in a model turn)

…itch

Previously seeding Gemini 3.1 live history on Vertex AI collapsed turns into a single user turn and hardcoded turn_complete=True, causing the model to immediately trigger a tool call upon reconnect. Since history_config is now supported on Vertex AI, we can remove the workaround and determine turn_complete based on the last turn role (preventing model execution when history ends in a model turn)

Change-Id: I624a7adc8acdd9a88f0fc17e08051ac8a5b6f9bd
@wukath wukath requested a review from wuliang229 June 25, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant