remove test bot utterance

This commit is contained in:
akirilyuk
2022-02-01 13:03:22 +01:00
parent 35114b22d8
commit 9f757b439f
2 changed files with 3 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ class Cognigy extends Task {
this.logger.info({}, 'TEST FROM ALEX');
this.logger.info({prompts: this.prompts}, 'Cognigy:_onBotFinalPing');
if (this.prompts.length) {
const text = 'test test test test test'.concat(this.prompts.join('.'));
const text = this.prompts.join('.');
if (text && !this.killed) {
this.gatherTask = this._makeGatherTask({textPrompt: text});
this.gatherTask.exec(cs, ep, this)