From 924627a50c0a8da304791004f6da80817a4bc99c Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Tue, 1 Feb 2022 15:43:27 +0100 Subject: [PATCH] add text promt to gather --- 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 74d21b0a..8aca6883 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(); + this.gatherTask = this._makeGatherTask({textPrompt: "this is a text promt"}); this.gatherTask.exec(cs, ep, this) .catch((err) => this.logger.info({err}, 'Cognigy gather task returned error')); this.prompts = [];