@livekit/agents-plugin-openai 1.0.0-next.1 → 1.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/llm.test.cjs +5 -1
- package/dist/llm.test.cjs.map +1 -1
- package/dist/llm.test.js +5 -1
- package/dist/llm.test.js.map +1 -1
- package/package.json +6 -6
- package/src/llm.test.ts +5 -1
package/dist/llm.test.cjs
CHANGED
|
@@ -3,6 +3,10 @@ var import_agents_plugins_test = require("@livekit/agents-plugins-test");
|
|
|
3
3
|
var import_vitest = require("vitest");
|
|
4
4
|
var import_llm = require("./llm.cjs");
|
|
5
5
|
(0, import_vitest.describe)("OpenAI", async () => {
|
|
6
|
-
await (0, import_agents_plugins_test.llm)(
|
|
6
|
+
await (0, import_agents_plugins_test.llm)(
|
|
7
|
+
new import_llm.LLM({
|
|
8
|
+
temperature: 0
|
|
9
|
+
})
|
|
10
|
+
);
|
|
7
11
|
});
|
|
8
12
|
//# sourceMappingURL=llm.test.cjs.map
|
package/dist/llm.test.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/llm.test.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport { llm } from '@livekit/agents-plugins-test';\nimport { describe } from 'vitest';\nimport { LLM } from './llm.js';\n\ndescribe('OpenAI', async () => {\n await llm(new LLM());\n});\n"],"mappings":";AAGA,iCAAoB;AACpB,oBAAyB;AACzB,iBAAoB;AAAA,IAEpB,wBAAS,UAAU,YAAY;AAC7B,YAAM,
|
|
1
|
+
{"version":3,"sources":["../src/llm.test.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport { llm } from '@livekit/agents-plugins-test';\nimport { describe } from 'vitest';\nimport { LLM } from './llm.js';\n\ndescribe('OpenAI', async () => {\n await llm(\n new LLM({\n temperature: 0,\n }),\n );\n});\n"],"mappings":";AAGA,iCAAoB;AACpB,oBAAyB;AACzB,iBAAoB;AAAA,IAEpB,wBAAS,UAAU,YAAY;AAC7B,YAAM;AAAA,IACJ,IAAI,eAAI;AAAA,MACN,aAAa;AAAA,IACf,CAAC;AAAA,EACH;AACF,CAAC;","names":[]}
|
package/dist/llm.test.js
CHANGED
|
@@ -2,6 +2,10 @@ import { llm } from "@livekit/agents-plugins-test";
|
|
|
2
2
|
import { describe } from "vitest";
|
|
3
3
|
import { LLM } from "./llm.js";
|
|
4
4
|
describe("OpenAI", async () => {
|
|
5
|
-
await llm(
|
|
5
|
+
await llm(
|
|
6
|
+
new LLM({
|
|
7
|
+
temperature: 0
|
|
8
|
+
})
|
|
9
|
+
);
|
|
6
10
|
});
|
|
7
11
|
//# sourceMappingURL=llm.test.js.map
|
package/dist/llm.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/llm.test.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport { llm } from '@livekit/agents-plugins-test';\nimport { describe } from 'vitest';\nimport { LLM } from './llm.js';\n\ndescribe('OpenAI', async () => {\n await llm(new LLM());\n});\n"],"mappings":"AAGA,SAAS,WAAW;AACpB,SAAS,gBAAgB;AACzB,SAAS,WAAW;AAEpB,SAAS,UAAU,YAAY;AAC7B,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/llm.test.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport { llm } from '@livekit/agents-plugins-test';\nimport { describe } from 'vitest';\nimport { LLM } from './llm.js';\n\ndescribe('OpenAI', async () => {\n await llm(\n new LLM({\n temperature: 0,\n }),\n );\n});\n"],"mappings":"AAGA,SAAS,WAAW;AACpB,SAAS,gBAAgB;AACzB,SAAS,WAAW;AAEpB,SAAS,UAAU,YAAY;AAC7B,QAAM;AAAA,IACJ,IAAI,IAAI;AAAA,MACN,aAAa;AAAA,IACf,CAAC;AAAA,EACH;AACF,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/agents-plugin-openai",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.2",
|
|
4
4
|
"description": "OpenAI plugin for LiveKit Node Agents",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"require": "dist/index.cjs",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"README.md"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@livekit/agents": "^1.0.0-next.1",
|
|
29
|
-
"@livekit/agents-plugin-silero": "^1.0.0-next.1",
|
|
30
|
-
"@livekit/agents-plugins-test": "^1.0.0-next.1",
|
|
31
28
|
"@livekit/rtc-node": "^0.13.12",
|
|
32
29
|
"@microsoft/api-extractor": "^7.35.0",
|
|
33
30
|
"@types/ws": "^8.5.10",
|
|
34
31
|
"tsup": "^8.3.5",
|
|
35
|
-
"typescript": "^5.0.0"
|
|
32
|
+
"typescript": "^5.0.0",
|
|
33
|
+
"@livekit/agents": "1.0.0-next.2",
|
|
34
|
+
"@livekit/agents-plugin-silero": "1.0.0-next.2",
|
|
35
|
+
"@livekit/agents-plugins-test": "1.0.0-next.2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@livekit/mutex": "^1.1.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@livekit/rtc-node": "^0.13.12",
|
|
45
|
-
"@livekit/agents": "
|
|
45
|
+
"@livekit/agents": "1.0.0-next.2"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup --onSuccess \"pnpm build:types\"",
|