Conversation
…e that Gemini Live doesn't work yet with PIpecat Flows.
… LLMs are still aware of functions called or simply referenced in conversation history. With Gemini Live in particular, if historical context text messages even mention missing functions, the API may return errors when connecting and seeding conversation history.
d178749 to
69c8068
Compare
…to the APPEND strategy when we're using an LLM that don't support summarization (like Gemini Live). I opted to do the simple thing of just checking the LLM name rather than build a more general system where each LLM reports whether it's capable of summarization.
a812ff1 to
a24c344
Compare
- Conditionally add STT and TTS to the pipeline, based on whether a traditional LLM or a speech-to-speech service like Gemini Live is being used - Tweak system prompt wording to: - prevent unnecessary responses before node transitions - nudge the model to convey the results of a previous function call to the user, even when it's not the most recent message in context
a24c344 to
499accc
Compare
…des wouldn't be properly reactivated when transitioning to a node where those functions are active again.
ce7f142 to
2008ec4
Compare
…er than letting them build up.
- `LLMMessagesTransformFrame` - Changes to `GeminiLiveLLMService` that allow its context (messages, tools) to be programmatically updated at runtime
kompfner
commented
Feb 5, 2026
| ] | ||
| dependencies = [ | ||
| "pipecat-ai>=0.0.85", | ||
| "pipecat-ai>=0.0.102", |
Contributor
Author
There was a problem hiding this comment.
TODO: update this if pipecat-ai/pipecat#3620 doesn't make it in that version.
TODO: uv sync to update uv.lock once the required version is published.
913a4db to
a237c1b
Compare
kompfner
commented
Feb 6, 2026
|
|
||
| Args: | ||
| time (str): Requested reservation time in "HH:MM AM/PM" format. Must be between 5 PM and 10 PM. | ||
| time (str): Requested reservation time in "HH:MM AM/PM" format, with NO leading 0s (e.g. "6:00 PM"). Must be between 5 PM and 10 PM. |
Contributor
Author
There was a problem hiding this comment.
This was a bug I fixed during testing
fe30969 to
43756d8
Compare
kompfner
commented
Feb 6, 2026
| # Prepare hold music args | ||
| flow_manager.state["hold_music_args"] = { | ||
| "script_path": Path(__file__).parent.parent / "assets" / "hold_music" / "hold_music.py", | ||
| "script_path": Path(__file__).parent.parent |
Contributor
Author
There was a problem hiding this comment.
This was a bug I fixed during testing
43756d8 to
fbb44a3
Compare
kompfner
commented
Feb 6, 2026
| { | ||
| "role": "system", | ||
| "content": "Confirm the reservation details and ask if they need anything else.", | ||
| "content": "Confirm the reservation details and ask if they need anything else. If they don't, go ahead and end the conversation by calling the appropriate function.", |
Contributor
Author
There was a problem hiding this comment.
This was a bug I fixed during testing
kompfner
commented
Feb 6, 2026
| { | ||
| "role": "system", | ||
| "content": "Confirm the reservation details and ask if they need anything else.", | ||
| "content": "Confirm the reservation details and ask if they need anything else. If they don't, go ahead and end the conversation by calling the appropriate function.", |
Contributor
Author
There was a problem hiding this comment.
This was a bug I fixed during testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See CHANGELOG for a more detailed description.
Fixes: #230
Note that we're actually not (at least today) officially supporting Gemini Live in Pipecat Flows, but this feature is generally useful regardless.
Pipecat core companion PR, made during the exploration: pipecat-ai/pipecat#3620
Why not already officially support Gemini Live in Pipecat Flows?