osborn 0.9.64 → 0.9.65
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/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2151,8 +2151,8 @@ async function main() {
|
|
|
2151
2151
|
// Bumping both watchdogs to 30s gives the forwarder room to ride out
|
|
2152
2152
|
// normal between-message pauses without timing out. Independent of the
|
|
2153
2153
|
// interruption block above, which is doing its job (0 interrupts fired).
|
|
2154
|
-
ttsReadIdleTimeout:
|
|
2155
|
-
forwardAudioIdleTimeout:
|
|
2154
|
+
ttsReadIdleTimeout: 40_000, // default 10000 → 30000
|
|
2155
|
+
forwardAudioIdleTimeout: 40_000, // default 10000 → 30000
|
|
2156
2156
|
// connOptions: {
|
|
2157
2157
|
// maxUnrecoverableErrors: 15, // default 3 (left at default)
|
|
2158
2158
|
// },
|
|
@@ -2167,9 +2167,9 @@ async function main() {
|
|
|
2167
2167
|
// a full 3s window to keep talking before deciding it was false and
|
|
2168
2168
|
// resuming. Other two knobs left at SDK defaults.
|
|
2169
2169
|
interruption: {
|
|
2170
|
-
minDuration:
|
|
2171
|
-
minWords:
|
|
2172
|
-
falseInterruptionTimeout:
|
|
2170
|
+
minDuration: 2500, // default 500 — require 2s sustained speech
|
|
2171
|
+
minWords: 4, // default 0 — require ≥3 transcript words
|
|
2172
|
+
falseInterruptionTimeout: 4000, // default 2000 — wait 3s before auto-resume
|
|
2173
2173
|
// resumeFalseInterruption: true, // default true (unchanged)
|
|
2174
2174
|
// discardAudioIfUninterruptible: true,// default true (unchanged)
|
|
2175
2175
|
},
|