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,
|
||||
|
|
|
|||
2
pipecat
2
pipecat
|
|
@ -1 +1 @@
|
|||
Subproject commit a0e790b4e3b836425d14834f10e76392ce6fc4cd
|
||||
Subproject commit 95f03dc647d60f505057db033161f609d9edf79d
|
||||
|
|
@ -1,10 +1,3 @@
|
|||
export interface VADConfiguration {
|
||||
confidence: number;
|
||||
start_seconds: number;
|
||||
stop_seconds: number;
|
||||
minimum_volume: number;
|
||||
}
|
||||
|
||||
export interface AmbientNoiseConfiguration {
|
||||
enabled: boolean;
|
||||
volume: number;
|
||||
|
|
@ -62,7 +55,6 @@ export interface ModelOverrides {
|
|||
}
|
||||
|
||||
export interface WorkflowConfigurations {
|
||||
vad_configuration?: VADConfiguration;
|
||||
ambient_noise_configuration: AmbientNoiseConfiguration;
|
||||
max_call_duration: number; // Maximum call duration in seconds
|
||||
max_user_idle_timeout: number; // Maximum user idle time in seconds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue