diff --git a/api/services/pipecat/transport_setup.py b/api/services/pipecat/transport_setup.py index 6cee7fb2..6bc714e5 100644 --- a/api/services/pipecat/transport_setup.py +++ b/api/services/pipecat/transport_setup.py @@ -151,6 +151,7 @@ async def create_cloudonix_transport( else SilenceAudioMixer() ), serializer=serializer, + audio_out_10ms_chunks=2, ), ) diff --git a/api/services/workflow/pipecat_engine_custom_tools.py b/api/services/workflow/pipecat_engine_custom_tools.py index a6c6a505..5bd48091 100644 --- a/api/services/workflow/pipecat_engine_custom_tools.py +++ b/api/services/workflow/pipecat_engine_custom_tools.py @@ -295,7 +295,10 @@ class CustomToolManager: workflow_run = await db_client.get_workflow_run_by_id( self._engine._workflow_run_id ) - if workflow_run.mode in [WorkflowRunMode.WEBRTC.value, WorkflowRunMode.SMALLWEBRTC.value]: + if workflow_run.mode in [ + WorkflowRunMode.WEBRTC.value, + WorkflowRunMode.SMALLWEBRTC.value, + ]: webrtc_error_result = { "status": "failed", "message": "I'm sorry, but call transfers are not available for web calls. Please try a telephony call.",