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.
This commit is contained in:
Tanmay Chaudhari
2026-03-27 12:06:26 +05:30
parent eee47deb34
commit 33e146decd
2 changed files with 2 additions and 0 deletions

1
changelog/XXXX.fixed.md Normal file
View File

@@ -0,0 +1 @@
Added missing `on_dtmf_event` callback to `LemonSliceTransportClient.setup()` `DailyCallbacks` construction, fixing a `ValidationError` at pipeline setup time.

View File

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