Merge pull request #397 from pipecat-ai/khk/rtvi-vad-params

VADParamsUpdateFrame and handling thereof
This commit is contained in:
Kwindla Hultman Kramer
2024-08-18 21:14:58 -07:00
committed by GitHub
3 changed files with 37 additions and 12 deletions

View File

@@ -456,3 +456,11 @@ class FunctionCallResultFrame(DataFrame):
tool_call_id: str
arguments: str
result: any
@dataclass
class VADParamsUpdateFrame(ControlFrame):
"""A control frame containing a request to update VAD params. Intended
to be pushed upstream from RTVI processor.
"""
params: dict