import { RealtimeSession } from '@openai/agents/realtime'; import { agent } from './agent'; const session = new RealtimeSession(agent, { model: 'gpt-4o-realtime-preview-2025-06-03', config: { turnDetection: { type: 'semantic_vad', eagerness: 'medium', createResponse: true, interruptResponse: true, }, }, });