mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
chore: bump pipecat
This commit is contained in:
parent
0e12c41fc7
commit
abfb678b4d
11 changed files with 1 additions and 25 deletions
|
|
@ -121,10 +121,8 @@ async def run_pipeline_telephony(
|
|||
if workflow:
|
||||
set_current_org_id(workflow.organization_id)
|
||||
|
||||
vad_config = None
|
||||
ambient_noise_config = None
|
||||
if workflow and workflow.workflow_configurations:
|
||||
vad_config = workflow.workflow_configurations.get("vad_configuration")
|
||||
ambient_noise_config = workflow.workflow_configurations.get(
|
||||
"ambient_noise_configuration"
|
||||
)
|
||||
|
|
@ -148,7 +146,6 @@ async def run_pipeline_telephony(
|
|||
workflow_run_id,
|
||||
audio_config,
|
||||
workflow.organization_id,
|
||||
vad_config=vad_config,
|
||||
ambient_noise_config=ambient_noise_config,
|
||||
telephony_configuration_id=telephony_configuration_id,
|
||||
**transport_kwargs,
|
||||
|
|
@ -191,11 +188,8 @@ async def run_pipeline_smallwebrtc(
|
|||
if workflow:
|
||||
set_current_org_id(workflow.organization_id)
|
||||
|
||||
vad_config = None
|
||||
ambient_noise_config = None
|
||||
if workflow and workflow.workflow_configurations:
|
||||
if "vad_configuration" in workflow.workflow_configurations:
|
||||
vad_config = workflow.workflow_configurations["vad_configuration"]
|
||||
if "ambient_noise_configuration" in workflow.workflow_configurations:
|
||||
ambient_noise_config = workflow.workflow_configurations[
|
||||
"ambient_noise_configuration"
|
||||
|
|
@ -208,7 +202,6 @@ async def run_pipeline_smallwebrtc(
|
|||
webrtc_connection,
|
||||
workflow_run_id,
|
||||
audio_config,
|
||||
vad_config,
|
||||
ambient_noise_config,
|
||||
)
|
||||
await _run_pipeline(
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ async def create_webrtc_transport(
|
|||
webrtc_connection: SmallWebRTCConnection,
|
||||
workflow_run_id: int,
|
||||
audio_config: AudioConfig,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
):
|
||||
"""Create a transport for WebRTC connections."""
|
||||
|
|
@ -39,7 +38,6 @@ def create_internal_transport(
|
|||
workflow_run_id: int,
|
||||
audio_config: AudioConfig,
|
||||
latency_seconds: float = 0.0,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
):
|
||||
"""Create an internal transport for agent-to-agent connections (LoopTalk).
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
channel_id: str,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
call_id: str,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
stream_id: str,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
stream_id: str,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
stream_sid: str,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
stream_id: str,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ async def create_transport(
|
|||
audio_config: AudioConfig,
|
||||
organization_id: int,
|
||||
*,
|
||||
vad_config: dict | None = None,
|
||||
ambient_noise_config: dict | None = None,
|
||||
telephony_configuration_id: int | None = None,
|
||||
call_uuid: str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue