Skip to content

feat(examples): add 540-livekit-agent-node [WIP]#236

Closed
github-actions[bot] wants to merge 12 commits intomainfrom
example/540-livekit-agent-node
Closed

feat(examples): add 540-livekit-agent-node [WIP]#236
github-actions[bot] wants to merge 12 commits intomainfrom
example/540-livekit-agent-node

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 15, 2026

Part of #225 — turn limit reached, build incomplete.

⚠️ WIP — the agent ran out of turns. Comment @deepgram-robot continue to resume from where it left off.

Action: New
Runtime: node
Example: 540-livekit-agent-node


Build summary

❓ Unknown completion state after 21 turns.
Rules fired: none


Tests

tests/test.js

const { execSync } = require('child_process');

try {
  console.log('Running LiveKit Agent Node Test...');
  const output = execSync('node src/index.js', { encoding: 'utf-8' });
  console.log('Test Output:', output);
  process.exit(0);
} catch (error) {
  console.error('Test Failed:', error.message);
  process.exit(1);
}

Test output

ℹ️ Turn 1/150 — turn=1 phases=[] tests=not yet run history_len=0
ℹ️ Turn 2/150 — turn=2 phases=[] tests=not yet run history_len=0
ℹ️ Turn 3/150 — turn=3 phases=[] tests=not yet run history_len=0
ℹ️ Turn 4/150 — turn=4 phases=[] tests=not yet run history_len=0
### `run_command`: `node tests/test.js`
**exit**: `1`
Running LiveKit Agent Node Test...
TypeError: Deepgram is not a constructor
Test Failed: Command failed: node src/index.js
TypeError: Deepgram is not a constructor
ℹ️ Turn 5/150 — turn=5 phases=[] tests=not yet run history_len=1
ℹ️ Turn 6/150 — turn=6 phases=['source'] tests=not yet run history_len=1
### `run_command`: `node tests/test.js`
**exit**: `1`
Running LiveKit Agent Node Test...
TypeError: Deepgram is not a constructor
Test Failed: Command failed: node src/index.js
TypeError: Deepgram is not a constructor
ℹ️ Turn 7/150 — turn=7 phases=['source'] tests=not yet run history_len=2
**exit**: `0`
ℹ️ Turn 8/150 — turn=8 phases=['api_verified', 'source'] tests=not yet run history_len=3
**exit**: `0`
ℹ️ Turn 9/150 — turn=9 phases=['api_verified', 'source'] tests=not yet run history_len=4
### `run_command`: `node tests/test.js`
**exit**: `1`
Running LiveKit Agent Node Test...
        throw new errors_1.DeepgramVersionError();
DeepgramVersionError: You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3
  __dgError: true
Test Failed: Command failed: node src/index.js
        throw new errors_1.DeepgramVersionError();
DeepgramVersionError: You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3
  __dgError: true
ℹ️ Turn 10/150 — turn=10 phases=['api_verified', 'source'] tests=not yet run history_len=5
**exit**: `127`
ℹ️ Turn 11/150 — turn=11 phases=['api_verified', 'source'] tests=not yet run history_len=6
**exit**: `0`
ℹ️ Turn 12/150 — turn=12 phases=['api_verified', 'source'] tests=not yet run history_len=7
ℹ️ Turn 13/150 — turn=13 phases=['api_verified', 'source'] tests=not yet run history_len=7
### `run_command`: `node tests/test.js`
**exit**: `1`
Running LiveKit Agent Node Test...
        throw new errors_1.DeepgramVersionError();
DeepgramVersionError: You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3
  __dgError: true
Test Failed: Command failed: node src/index.js
        throw new errors_1.DeepgramVersionError();
DeepgramVersionError: You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3
  __dgError: true
ℹ️ Turn 14/150 — turn=14 phases=['api_verified', 'source'] tests=not yet run history_len=8
**exit**: `0`
ℹ️ Turn 15/150 — turn=15 phases=['api_verified', 'source'] tests=not yet run history_len=9
**exit**: `0`
latest: 5.0.0
ℹ️ Turn 16/150 — turn=16 phases=['api_verified', 'source'] tests=not yet run history_len=10
ℹ️ Turn 17/150 — turn=17 phases=['api_verified', 'source'] tests=not yet run history_len=10
### `run_command`: `node tests/test.js`
**exit**: `1`
Running LiveKit Agent Node Test...
        throw new errors_1.DeepgramVersionError();
DeepgramVersionError: You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3
  __dgError: true
Test Failed: Command failed: node src/index.js
        throw new errors_1.DeepgramVersionError();
DeepgramVersionError: You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3
  __dgError: true
ℹ️ Turn 18/150 — turn=18 phases=['api_verified', 'source'] tests=not yet run history_len=11
### `run_command`: `npm install @deepgram/sdk@latest && npm update livekit-server-sdk`
**exit**: `0`
ℹ️ Turn 19/150 — turn=19 phases=['api_verified', 'source'] tests=not yet run history_len=12
### `run_command`: `node tests/test.js`
**exit**: `1`
Running LiveKit Agent Node Test...
TypeError: Deepgram is not a constructor
Test Failed: Command failed: node src/index.js
TypeError: Deepgram is not a constructor
ℹ️ Turn 20/150 — turn=20 phases=['api_verified', 'source'] tests=not yet run history_len=13
**exit**: `1`
npm error code ETARGET
npm error notarget No matching version found for @deepgram/sdk@6.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-04-15T13_32_25_624Z-debug-0.log
ℹ️ Turn 21/150 — turn=21 phases=['api_verified', 'source'] tests=not yet run history_len=14

@github-actions github-actions bot added type:example New example app automated Opened by the build pipeline labels Apr 15, 2026
@lukeocodes lukeocodes closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Opened by the build pipeline type:example New example app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant