Skip to content

Commit

Permalink
ref: Rename outbound example
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasGruba committed Jan 4, 2025
1 parent d4406a7 commit c31b7ca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/src/outbound_example.ts → examples/src/outbound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c31b7ca

Please sign in to comment.