transcribe() uses the Realtime WebSocket API. The
lokutor-agents-voice adapter calls
/v1/audio/speech and /v1/audio/transcriptions and converts the audio.
Limits
- Push-to-talk input only (
AudioInput).StreamedAudioInputis not implemented; use/ws/sttdirectly. - One synthesis request per text chunk; audio is resampled to 24 kHz with linear interpolation.
Verification
Run against the live API with openai-agents 0.24.0: a TTS to STT round trip and aVoicePipeline with an echo workflow.
Not run: SingleAgentVoiceWorkflow with an LLM, and streamed input.