mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-28 08:49:42 +02:00
Merge remote-tracking branch 'origin/main' into feat/add-openai-realtime
# Conflicts: # docs/api-reference/openapi.json # sdk/python/src/dograh_sdk/_generated_models.py # ui/src/client/index.ts
This commit is contained in:
commit
a3127b596f
34 changed files with 214 additions and 4634 deletions
|
|
@ -1,7 +1,7 @@
|
|||
"""Transport factories for non-telephony pipelines.
|
||||
|
||||
Telephony transports live in their respective ``api.services.telephony.providers/<name>/transport.py``.
|
||||
This module hosts only the shared, non-telephony transports (WebRTC, internal/LoopTalk).
|
||||
This module hosts only the shared, non-telephony transports (WebRTC).
|
||||
"""
|
||||
|
||||
from api.services.pipecat.audio_config import AudioConfig
|
||||
|
|
@ -35,24 +35,3 @@ async def create_webrtc_transport(
|
|||
**realtime_param_overrides(is_realtime),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
def create_internal_transport(
|
||||
workflow_run_id: int,
|
||||
audio_config: AudioConfig,
|
||||
latency_seconds: float = 0.0,
|
||||
ambient_noise_config: dict | None = None,
|
||||
):
|
||||
"""Create an internal transport for agent-to-agent connections (LoopTalk).
|
||||
|
||||
Args:
|
||||
workflow_run_id: ID of the workflow run for turn analyzer context
|
||||
audio_config: Audio configuration for the transport
|
||||
latency_seconds: Network latency to simulate
|
||||
|
||||
Returns:
|
||||
InternalTransport instance configured with turn analyzer
|
||||
"""
|
||||
pass
|
||||
# Commented out because looptalk coming in the regular import flow
|
||||
# was causing issue. May be move this to looptalk/orchestrator.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue