diff --git a/examples/src/outbound_example.ts b/examples/src/outbound.ts similarity index 90% rename from examples/src/outbound_example.ts rename to examples/src/outbound.ts index df4b31a..1c69017 100644 --- a/examples/src/outbound_example.ts +++ b/examples/src/outbound.ts @@ -14,15 +14,9 @@ import * as deepgram from '@livekit/agents-plugin-deepgram'; import * as elevenlabs from '@livekit/agents-plugin-elevenlabs'; import * as openai from '@livekit/agents-plugin-openai'; import * as silero from '@livekit/agents-plugin-silero'; -import dotenv from 'dotenv'; import { SipClient } from 'livekit-server-sdk'; -import path from 'node:path'; import { fileURLToPath } from 'node:url'; -const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const envPath = path.join(__dirname, '../.env.local'); -dotenv.config({ path: envPath }); - export default defineAgent({ prewarm: async (proc: JobProcess) => { proc.userData.vad = await silero.VAD.load();