@openclaw/voice-call 2026.3.8-beta.1 → 2026.3.11
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/CHANGELOG.md +17 -0
- package/openclaw.plugin.json +11 -0
- package/package.json +1 -1
- package/src/providers/tts-openai.ts +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026.3.11
|
|
4
|
+
|
|
5
|
+
### Changes
|
|
6
|
+
- Version alignment with core OpenClaw release numbers.
|
|
7
|
+
|
|
8
|
+
## 2026.3.10
|
|
9
|
+
|
|
10
|
+
### Changes
|
|
11
|
+
|
|
12
|
+
- Version alignment with core OpenClaw release numbers.
|
|
13
|
+
|
|
14
|
+
## 2026.3.9
|
|
15
|
+
|
|
16
|
+
### Changes
|
|
17
|
+
|
|
18
|
+
- Version alignment with core OpenClaw release numbers.
|
|
19
|
+
|
|
3
20
|
## 2026.3.8-beta.1
|
|
4
21
|
|
|
5
22
|
### Changes
|
package/openclaw.plugin.json
CHANGED
|
@@ -522,11 +522,22 @@
|
|
|
522
522
|
"apiKey": {
|
|
523
523
|
"type": "string"
|
|
524
524
|
},
|
|
525
|
+
"baseUrl": {
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
525
528
|
"model": {
|
|
526
529
|
"type": "string"
|
|
527
530
|
},
|
|
528
531
|
"voice": {
|
|
529
532
|
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
"speed": {
|
|
535
|
+
"type": "number",
|
|
536
|
+
"minimum": 0.25,
|
|
537
|
+
"maximum": 4.0
|
|
538
|
+
},
|
|
539
|
+
"instructions": {
|
|
540
|
+
"type": "string"
|
|
530
541
|
}
|
|
531
542
|
}
|
|
532
543
|
},
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { resolveOpenAITtsInstructions } from "openclaw/plugin-sdk/voice-call";
|
|
1
2
|
import { pcmToMulaw } from "../telephony-audio.js";
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -110,9 +111,11 @@ export class OpenAITTSProvider {
|
|
|
110
111
|
speed: this.speed,
|
|
111
112
|
};
|
|
112
113
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
const effectiveInstructions = resolveOpenAITtsInstructions(
|
|
115
|
+
this.model,
|
|
116
|
+
trimToUndefined(instructions) ?? this.instructions,
|
|
117
|
+
);
|
|
118
|
+
if (effectiveInstructions) {
|
|
116
119
|
body.instructions = effectiveInstructions;
|
|
117
120
|
}
|
|
118
121
|
|