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] 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"),