From 18a141edc685f9d4a240bcb87427b6718018bac1 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Tue, 1 Feb 2022 15:53:51 +0100 Subject: [PATCH] no gather text prompt --- lib/tasks/cognigy/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index 87a9ac1c..0b709e26 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -235,7 +235,7 @@ class Cognigy extends Task { this.logger.info({prompts: this.prompts}, 'Cognigy:_onBotFinalPing'); try { await this.taskQueue.lastPromise; - this.gatherTask = this._makeGatherTask({textPrompt: "this is a text promt"}); + this.gatherTask = this._makeGatherTask(); this.gatherTask.exec(cs, ep, this) .catch((err) => this.logger.info({err}, 'Cognigy gather task returned error')); this.prompts = [];