mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix gather task creation again
This commit is contained in:
@@ -91,6 +91,13 @@ class SpeechConfig extends Emitter {
|
||||
|
||||
/* turn config can now be emptied for next turn of conversation */
|
||||
this.turnConfig = {};
|
||||
|
||||
const config = {};
|
||||
if(sayConfig){
|
||||
config.say = sayConfig;
|
||||
}else if(playConfig){
|
||||
config.play = playConfig;
|
||||
}
|
||||
return textPrompt ?
|
||||
{...final, say: sayConfig} :
|
||||
{...final, play: playConfig};
|
||||
|
||||
Reference in New Issue
Block a user