Skip to content

Commit

Permalink
fix IIFE
Browse files Browse the repository at this point in the history
  • Loading branch information
nbsp committed Nov 22, 2024
1 parent 327974e commit c8e4a69
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"src"
],
"scripts": {
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"",
"build": "tsup --splitting true --onSuccess \"tsc --declaration --emitDeclarationOnly\"",
"clean": "rm -rf dist",
"clean:build": "pnpm clean && pnpm build",
"lint": "eslint -f unix \"src/**/*.ts\"",
Expand Down
1 change: 0 additions & 1 deletion agents/src/ipc/job_main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ const startJob = (

(async () => {
if (process.send) {
console.log("AAAAAAAAAAAAAA")
// process.argv:
// [0] `node'
// [1] import.meta.filename
Expand Down
1 change: 1 addition & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"minimal": "pnpm exec tsx src/minimal_assistant.ts"
},
"devDependencies": {
"@types/node": "^22.5.5",
"tsx": "^4.19.2",
"typescript": "^5.0.0"
},
Expand Down
1 change: 0 additions & 1 deletion examples/src/multimodal_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: Apache-2.0
const { JobContext, WorkerOptions, cli, defineAgent, llm, multimodal } = require('@livekit/agents');
const openai = require('@livekit/agents-plugin-openai');
const { fileURLToPath } = require('node:url');
const { z } = require('zod');

export default defineAgent({
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8e4a69

Please sign in to comment.