Skip to content

gemini-live: end response segment before running tool calls#3609

Open
KartikVashishta wants to merge 1 commit intopipecat-ai:mainfrom
KartikVashishta:fix-3552-gemini-live-endframe
Open

gemini-live: end response segment before running tool calls#3609
KartikVashishta wants to merge 1 commit intopipecat-ai:mainfrom
KartikVashishta:fix-3552-gemini-live-endframe

Conversation

@KartikVashishta
Copy link

Addressing #3552,

Gemini Live pauses generation while a tool call is outstanding and does (may) not emit turn_complete until tool responses are provided. If a tool returns run_llm=False and ends the task, we could keep the bot marked as responding and defer EndFrame indefinitely.

Close out the current response segment before dispatching tool calls (clear buffers, stop TTS when appropriate, emit LLMFullResponseEndFrame) so EndFrame can propagate and the pipeline shuts down cleanly

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