mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-07-04 19:32:01 +00:00
+3
-2
@@ -1108,8 +1108,9 @@ class TaskGather extends SttTask {
|
||||
if (this.partialResultHook) {
|
||||
const b3 = this.getTracingPropagation();
|
||||
const httpHeaders = b3 && {b3};
|
||||
this.cs.requestor.request('verb:hook', this.partialResultHook, Object.assign({speech: evt},
|
||||
this.cs.callInfo, httpHeaders));
|
||||
const params = {speech: evt, ...this.cs.callInfo.toJSON()};
|
||||
if (this.id) params.verb_id = this.id;
|
||||
this.cs.requestor.request('verb:hook', this.partialResultHook, params, httpHeaders);
|
||||
}
|
||||
else if (this.vendor === 'deepgramflux' &&
|
||||
['EagerEndOfTurn', 'TurnResumed'].includes(evt.vendor.evt?.event)) {
|
||||
|
||||
Reference in New Issue
Block a user