Improve sample_rate handling in GrokRealtimeLLMService

This commit is contained in:
Mark Backman
2025-12-20 07:46:31 -05:00
parent d7d979dde1
commit 0576783c5e
3 changed files with 98 additions and 27 deletions

View File

@@ -25,7 +25,6 @@ Usage:
python 50-grok-realtime.py --transport daily
"""
import asyncio
import os
from datetime import datetime
@@ -37,7 +36,7 @@ from pipecat.adapters.schemas.tools_schema import ToolsSchema
# Note: Grok has built-in server-side VAD, so we don't need local VAD
# from pipecat.audio.vad.silero import SileroVADAnalyzer
from pipecat.frames.frames import LLMRunFrame, LLMSetToolsFrame, TranscriptionMessage
from pipecat.frames.frames import LLMRunFrame, TranscriptionMessage
from pipecat.observers.loggers.transcription_log_observer import (
TranscriptionLogObserver,
)