mattie ruth backman
cad3104d56
Fix _handle_send_text to use default options if not provided
2025-09-19 17:46:29 -04:00
mattie ruth backman
d8a2a917a2
Deprecate append-to-text handling in favor of new send-text with support for toggling skip-tts while handling the text
2025-09-19 17:46:29 -04:00
chadbailey59
3984cb58a2
cleared input and process events when pausing ( #2698 )
2025-09-19 16:44:43 -05:00
chadbailey59
9027a96a07
Add remote participant updates to DailyTransport ( #2694 )
...
* add remote participant updates to DailyTransport
* cleanup
* cleanup
* ruff cleanup again
2025-09-19 16:03:34 -05:00
Aleix Conchillo Flaqué
077b949bb2
BaseObject: run each handler for the same event in a separate task
2025-09-19 13:32:39 -07:00
Aleix Conchillo Flaqué
3a6c9786e8
LiveKitTransport: added synchronous before_disconnect event
2025-09-19 13:32:39 -07:00
Aleix Conchillo Flaqué
492da16cc9
DailyTransport: added synchronous on_before_disconnect event
2025-09-19 13:32:39 -07:00
Aleix Conchillo Flaqué
a698c4064b
BaseObject: allow synchronous event handlers
2025-09-19 13:32:39 -07:00
Filipi Fuchter
9e098b5f79
Changing InworldTTSService default temperature to 1.1
2025-09-19 17:03:53 -03:00
Mark Backman
0885bc9cdf
Lazy load SmallWebRTCRequest, SmallWebRTCRequestHandler in runner
2025-09-19 13:28:01 -04:00
Aleix Conchillo Flaqué
0204f6a95d
Merge pull request #2686 from pipecat-ai/aleix/silero-vad-v6
...
audio(vad): update Silero VAD model to v6
2025-09-18 20:31:10 -07:00
Mark Backman
e8a676eb36
GladiaSTTService: deprecate confidence arg
2025-09-18 20:38:53 -04:00
Mark Backman
8e1637d6c7
DailyTransport sip_call_transfer now automatically receives session_id
2025-09-18 20:34:14 -04:00
Filipi da Silva Fuchter
367200c0ad
Merge pull request #2682 from pipecat-ai/filipi/smallwebrtc_leak
...
Smallwebrtc memory leak
2025-09-18 18:56:08 -03:00
Filipi Fuchter
766e1948a6
Mentioning the fix in the changelog.
2025-09-18 18:43:33 -03:00
Aleix Conchillo Flaqué
f369683b8b
audio(vad): update Silero VAD model to v6
2025-09-18 14:06:37 -07:00
Filipi Fuchter
93a89449b8
Adding warnings in case queue grows.
2025-09-18 16:43:57 -03:00
Filipi Fuchter
199bf72945
Preventing memory growth if we are not consuming the track.
2025-09-18 16:16:10 -03:00
Mark Backman
33ef68573f
Merge pull request #2662 from pelguetat/fix-vertex-ai-global-location-support
...
feat: add support for global location in Vertex AI base URL
2025-09-18 10:25:10 -07:00
Jin Kim
d0b573e44f
Fix audio buffer flush and silence handling
2025-09-18 19:40:45 +09:00
Paul Kompfner
cfa333508b
Simplify a bit of logic in ServiceSwitcher
2025-09-17 21:03:38 -04:00
Mark Backman
073b585c52
fix: AsyncAITTSService wasn't pushing TTSTextFrames
2025-09-17 16:54:18 -04:00
Aleix Conchillo Flaqué
db5bcfaa51
FrameProcessor: fix push_interruption_task_frame_and_wait()
2025-09-17 13:38:21 -07:00
Paul Kompfner
bd760deff2
Update comment with more detail for posterity
2025-09-17 16:19:31 -04:00
Paul Kompfner
8bc3c89140
Fix a bug preventing usage of multiple ServiceSwitchers in a pipeline
2025-09-17 16:09:18 -04:00
Paul Kompfner
5b55988846
Denote a couple of variables are private with a leading underscore
2025-09-17 15:38:28 -04:00
Paul Kompfner
a12392182c
Simplify, undoing the change allowing controlling ServiceSwitcher with immediate frames (SystemFrames). Service switcher frames are ControlFrames, which are easier to reason about. We can always build the immediate option later if needed (i.e. if there's sufficient user pull for it)
2025-09-17 15:35:02 -04:00
Paul Kompfner
b814b70e1e
Allow controlling ServiceSwitcher with either immediate frames (SystemFrames) or in-order frames (ControlFrames).
...
Immediate is the "default", i.e. has the more obvious name (e.g. `ManuallySwitchServiceFrame` v `ManuallySwitchServiceControlFrame`), since that's *probably* what users will want to reach for. Also, the immediate frames are more likely to behave like what we had before the last few commits, where the service switch would always "jump the queue" by having an immediate effect once it hit the `ServiceSwitcher` in the pipeline, jumping ahead of frames in front of it destined for the service.
2025-09-17 15:35:02 -04:00
Paul Kompfner
0839b48da8
Fix an issue where the upstream ServiceSwitcherFilter wouldn't get updated with the current active service
2025-09-17 15:35:02 -04:00
Paul Kompfner
de51637b77
Update ServiceSwitcher so that ServiceSwitcherFrames (which might update the currently active service) are processed and have an effect at the expected time. We should be able to, for example, queue:
...
- A text frame
- A `ManuallySwitchServiceFrame` (which is a `ServiceSwitcherFrame`)
- Another text frame
And expect that the first text frame be handled by the initially active service and the second text frame be handled by the newly active one.
Previously, the `ManuallySwitchServiceFrame` would have an effect too early, causing both text frames to be handled by the newly active service. Why? Because the frame filtering condition was being updated *directly* by the `ServiceSwitcher`, which is upstream from the services it's switching between. It could therefore update the filters *before* the services received the prior frames.
2025-09-17 15:35:02 -04:00
Mark Backman
1fe27eb0a2
Merge pull request #2660 from pipecat-ai/mb/fix-user-idle-processor-cancel-task
...
fix: clean up how UserIdleProcessor handles return False
2025-09-16 14:48:59 -07:00
Mark Backman
d7e1389497
fix: clean up how UserIdleProcessor handles return False
2025-09-16 17:44:06 -04:00
Mark Backman
38ce85e9a0
Merge pull request #2667 from zytegalaxy/mcp-serverparameters-typefix
...
fix: replace `Tuple` type with `TypeAlias` for server params in MCP client
2025-09-16 14:14:59 -07:00
Mark Backman
2279e5a899
Merge pull request #2663 from pipecat-ai/mb/websockets-15
...
Add support for websockets 15.0
2025-09-16 14:08:36 -07:00
mehrdad
c2b98ae557
fix(lint): fix space format issue
2025-09-16 13:44:15 -07:00
Filipi da Silva Fuchter
727eb12b16
Merge pull request #2648 from pipecat-ai/filipi/pcc_small_webrtc
...
Creating SmallWebRTCRequestHandler for managing peer connections.
2025-09-16 16:37:04 -03:00
mehrdad
ba96bd05d3
fix: replace Tuple type with TypeAlias for server params in MCP client
2025-09-16 11:44:25 -07:00
Mark Backman
6924850ec4
Add support for websockets 15.0
2025-09-16 11:21:49 -04:00
marcus-daily
dfe7815dc5
Smart Turn v3: removing torch and torchaudio deps
2025-09-16 16:02:41 +01:00
Pablo Elgueta
69f0a75882
feat: add support for global location in Vertex AI base URL
...
- Update _get_base_url method to handle 'global' location case
- Use 'aiplatform.googleapis.com' for global locations
- Use '{location}-aiplatform.googleapis.com' for regional locations
- Maintains backward compatibility with existing regional endpoints
2025-09-16 10:28:22 -03:00
Mark Backman
f2a5d408de
fix: AudioBufferProcessor has_audio returns based on user or bot audio existing
2025-09-15 21:35:35 -04:00
Aleix Conchillo Flaqué
db71089f5e
PipelineTask: add on_pipeline_finished event
...
This deprecates `on_pipeline_stopped`, `on_pipeline_ended` and
`on_pipeline_cancelled`.
2025-09-15 15:28:33 -07:00
Aleix Conchillo Flaqué
f861f5066f
Merge pull request #2654 from pipecat-ai/aleix/unify-on-client-disconnected
...
transports: on_client_disconnected only if remote client disconnects
2025-09-15 15:18:57 -07:00
kompfner
81cede2c60
Merge pull request #2653 from pipecat-ai/pk/llm-context-adapting-tests
...
`LLMContext`-adapting unit tests
2025-09-15 16:38:46 -04:00
kompfner
7603203230
Merge pull request #2644 from pipecat-ai/pk/run-inference-unit-tests
...
`run_inference` unit tests
2025-09-15 16:26:10 -04:00
Aleix Conchillo Flaqué
8569b61598
transports: on_client_disconnected only if remote client disconnects
2025-09-15 11:35:40 -07:00
Paul Kompfner
fe42187dc1
Implement LLMService.create_llm_specific_message() so that users don't need to just know what value of llm to provide to the LLMSpecificMessage constructor
2025-09-15 14:15:22 -04:00
Paul Kompfner
42886d7105
Add unit tests for OpenAILLMAdapter.get_llm_invocation_params(), focusing on messages specifically. Also, fix a bug in OpenAILLMAdapter (found thanks to the unit tests) where it wasn't "unwrapping" LLMSpecificMessages.
2025-09-15 11:17:11 -04:00
Filipi Fuchter
0a043154f2
Removing not used import.
2025-09-15 10:46:43 -03:00
Filipi Fuchter
5e322eba9e
Supporting both single and multiple connection modes.
2025-09-15 10:43:46 -03:00