mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-22 11:51:04 +02:00
* feat(tts): add websocket transport option for xAI TTS
xAI's pipecat service ships two implementations: XAIHttpTTSService
(batch REST, used by the existing xAI integration) and XAITTSService
(realtime WebSocket streaming). This adds a transport field on
XAITTSConfiguration ("http", default, unchanged behavior | "websocket")
and wires the latter into create_tts_service(), so live voice calls can
opt into lower time-to-first-byte streaming instead of request/response.
Originally built and battle-tested independently against v1.41.0 in a
production deployment (7 live Telnyx calls, 2026-07-15) before this PR
existed; ported onto current main and given a config toggle instead of
a second provider entry so it composes with the existing xAI HTTP path
rather than duplicating it.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* refactor(tts): use websocket-only xAI TTS, drop the transport toggle
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Sabiha Khan <sabihak89@gmail.com>
|
||
|---|---|---|
| .. | ||
| realtime | ||
| __init__.py | ||
| active_calls.py | ||
| audio_config.py | ||
| audio_file_cache.py | ||
| audio_mixer.py | ||
| audio_playback.py | ||
| event_handlers.py | ||
| exceptions.py | ||
| gemini_json_schema_adapter.py | ||
| in_memory_buffers.py | ||
| minimax_tts.py | ||
| pipeline_builder.py | ||
| pipeline_engine_callbacks_processor.py | ||
| pipeline_metrics_aggregator.py | ||
| pre_call_fetch.py | ||
| realtime_feedback_events.py | ||
| realtime_feedback_observer.py | ||
| recording_audio_cache.py | ||
| recording_router_processor.py | ||
| run_pipeline.py | ||
| service_factory.py | ||
| tracing_config.py | ||
| transcript_log_coordinator.py | ||
| transport_params.py | ||
| transport_setup.py | ||
| turn_context.py | ||
| worker_runner.py | ||
| ws_sender_registry.py | ||