diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index bbd8934ba..5cc590942 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -329,6 +329,16 @@ export function initDefaultSlashCommands() { name: 'continue', callback: continueChatCallback, aliases: ['cont'], + namedArgumentList: [ + new SlashCommandNamedArgument( + 'await', + 'Whether to await for the continued generation before continuing', + [ARGUMENT_TYPE.BOOLEAN], + false, + false, + 'false', + ), + ], unnamedArgumentList: [ new SlashCommandArgument( 'prompt', [ARGUMENT_TYPE.STRING], false, @@ -338,6 +348,9 @@ export function initDefaultSlashCommands() {
Continues the last message in the chat, with an optional additional prompt.
+
+ If await=true named argument is passed, the command will await for the continued generation before continuing. +
Example: