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:
1
changelog/XXXX.fixed.md
Normal file
1
changelog/XXXX.fixed.md
Normal file
@@ -0,0 +1 @@
|
||||
Added missing `on_dtmf_event` callback to `LemonSliceTransportClient.setup()` `DailyCallbacks` construction, fixing a `ValidationError` at pipeline setup time.
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user