mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
add default value
This commit is contained in:
@@ -174,7 +174,7 @@ class Cognigy extends Task {
|
||||
this.notifyTaskDone();
|
||||
}
|
||||
|
||||
_makeGatherTask({textPrompt, urlPrompt}) {
|
||||
_makeGatherTask({textPrompt, urlPrompt} = {}) {
|
||||
const config = this.config.makeGatherTaskConfig({textPrompt, urlPrompt});
|
||||
const {retry, ...rest} = config;
|
||||
this.retry = retry;
|
||||
|
||||
Reference in New Issue
Block a user