Fix realtime initial greeting handling (#481)

This commit is contained in:
Abhishek 2026-06-29 17:25:42 +05:30 committed by GitHub
parent d9800fddd6
commit 090d042a78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 714 additions and 70 deletions

View file

@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: dograh-openapi-XXXXXX.json.MU08hRFPE8
# timestamp: 2026-06-26T11:33:34+00:00
# filename: dograh-openapi-XXXXXX.json.IQaxuC56sd
# timestamp: 2026-06-29T10:55:38+00:00
from __future__ import annotations

View file

@ -65,8 +65,7 @@ class StartCall(TypedNode):
greeting: Optional[str] = None
"""
Text spoken via TTS at the start of the call. Supports
{{template_variables}}. Leave empty to skip the greeting. Not supported
with realtime (speech-to-speech) models.
{{template_variables}}. Leave empty to skip the greeting.
"""
greeting_recording_id: Optional[str] = None

View file

@ -38,7 +38,7 @@ export interface StartCall {
*/
greeting_type?: "text" | "audio";
/**
* Text spoken via TTS at the start of the call. Supports {{template_variables}}. Leave empty to skip the greeting. Not supported with realtime (speech-to-speech) models.
* Text spoken via TTS at the start of the call. Supports {{template_variables}}. Leave empty to skip the greeting.
*/
greeting?: string;
/**