add more logs

This commit is contained in:
akirilyuk
2022-02-04 08:28:33 +01:00
parent 5c8f91c1c1
commit b089bd4663

View File

@@ -25,6 +25,7 @@ class TaskGather extends Task {
this.minBargeinWordCount = this.data.minBargeinWordCount || 1; this.minBargeinWordCount = this.data.minBargeinWordCount || 1;
// this is specially for barge in where we want to make a bargebale promt // this is specially for barge in where we want to make a bargebale promt
// to a user without listening after the say task has finished // to a user without listening after the say task has finished
this.logger({opts}, 'created gather task');
this.listenAfterSpeech = this.data.listenAfterSpeech === false; this.listenAfterSpeech = this.data.listenAfterSpeech === false;
this.timeout = (this.timeout || 15) * 1000; this.timeout = (this.timeout || 15) * 1000;
this.interim = this.partialResultCallback || this.bargein; this.interim = this.partialResultCallback || this.bargein;