From 33e146decd5aba4e53bde6dbbfe3324cfb9f903e Mon Sep 17 00:00:00 2001 From: Tanmay Chaudhari <7712083+tanmayc25@users.noreply.github.com> Date: Fri, 27 Mar 2026 12:06:26 +0530 Subject: [PATCH 1/2] fix(lemonslice): add missing on_dtmf_event callback in DailyCallbacks construction DailyCallbacks gained a required on_dtmf_event field in PR #4047. PR #4079 fixed this for TavusTransportClient but LemonSliceTransportClient.setup() was not updated, causing a pydantic ValidationError at pipeline setup time. --- changelog/XXXX.fixed.md | 1 + src/pipecat/transports/lemonslice/transport.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/XXXX.fixed.md diff --git a/changelog/XXXX.fixed.md b/changelog/XXXX.fixed.md new file mode 100644 index 000000000..8fe264f27 --- /dev/null +++ b/changelog/XXXX.fixed.md @@ -0,0 +1 @@ +Added missing `on_dtmf_event` callback to `LemonSliceTransportClient.setup()` `DailyCallbacks` construction, fixing a `ValidationError` at pipeline setup time. diff --git a/src/pipecat/transports/lemonslice/transport.py b/src/pipecat/transports/lemonslice/transport.py index 6a6894167..4cdf99ca9 100644 --- a/src/pipecat/transports/lemonslice/transport.py +++ b/src/pipecat/transports/lemonslice/transport.py @@ -181,6 +181,7 @@ class LemonSliceTransportClient: on_dialout_stopped=partial(self._on_handle_callback, "on_dialout_stopped"), on_dialout_error=partial(self._on_handle_callback, "on_dialout_error"), on_dialout_warning=partial(self._on_handle_callback, "on_dialout_warning"), + on_dtmf_event=partial(self._on_handle_callback, "on_dtmf_event"), on_participant_joined=self._callbacks.on_participant_joined, on_participant_left=self._callbacks.on_participant_left, on_participant_updated=partial(self._on_handle_callback, "on_participant_updated"), From 5e61a57582f786ca05b4a46a7173fb5942b03bef Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Fri, 27 Mar 2026 10:16:25 -0400 Subject: [PATCH 2/2] Fix changelog entry for #4161 --- changelog/4161.fixed.md | 1 + changelog/XXXX.fixed.md | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 changelog/4161.fixed.md delete mode 100644 changelog/XXXX.fixed.md diff --git a/changelog/4161.fixed.md b/changelog/4161.fixed.md new file mode 100644 index 000000000..f8dc3c670 --- /dev/null +++ b/changelog/4161.fixed.md @@ -0,0 +1 @@ +- Added missing `on_dtmf_event` callback to `LemonSliceTransportClient.setup()` `DailyCallbacks` construction, fixing a `ValidationError` at pipeline setup time. diff --git a/changelog/XXXX.fixed.md b/changelog/XXXX.fixed.md deleted file mode 100644 index 8fe264f27..000000000 --- a/changelog/XXXX.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Added missing `on_dtmf_event` callback to `LemonSliceTransportClient.setup()` `DailyCallbacks` construction, fixing a `ValidationError` at pipeline setup time.