@copilotkit/voice 2.0.0-rc.6 → 2.0.0-rc.60
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/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@ pnpm add @copilotkit/voice openai
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
import {
|
|
12
|
+
import { CopilotKitRuntime, createCopilotEndpoint } from "@copilotkit/runtime";
|
|
13
13
|
import { TranscriptionServiceOpenAI } from "@copilotkit/voice";
|
|
14
14
|
import OpenAI from "openai";
|
|
15
15
|
|
|
16
|
-
const runtime = new
|
|
16
|
+
const runtime = new CopilotKitRuntime({
|
|
17
17
|
agents: { default: yourAgent },
|
|
18
18
|
transcriptionService: new TranscriptionServiceOpenAI({
|
|
19
19
|
openai: new OpenAI({ apiKey: process.env.OPENAI_API_KEY }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/voice",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.60",
|
|
4
4
|
"description": "Voice services for CopilotKit (transcription, text-to-speech, etc.)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"tsdown": "^0.20.3",
|
|
32
32
|
"typescript": "5.8.2",
|
|
33
33
|
"vitest": "^3.0.5",
|
|
34
|
-
"@copilotkit/runtime": "2.0.0-rc.
|
|
34
|
+
"@copilotkit/runtime": "2.0.0-rc.60",
|
|
35
35
|
"@copilotkit/typescript-config": "1.55.0-next.8"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@copilotkit/runtime": "2.0.0-rc.
|
|
38
|
+
"@copilotkit/runtime": "2.0.0-rc.60"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": "^20.19.3 || >=22.13.0"
|