Clearer wording and examples

This commit is contained in:
Cohee 2024-07-08 20:02:21 +03:00
parent aad65c9273
commit f8a55d51d2
1 changed files with 5 additions and 5 deletions

View File

@ -332,7 +332,7 @@ export function initDefaultSlashCommands() {
namedArgumentList: [ namedArgumentList: [
new SlashCommandNamedArgument( new SlashCommandNamedArgument(
'await', 'await',
'Whether to await for the continued generation before continuing', 'Whether to await for the continued generation before proceeding',
[ARGUMENT_TYPE.BOOLEAN], [ARGUMENT_TYPE.BOOLEAN],
false, false,
false, false,
@ -349,18 +349,18 @@ export function initDefaultSlashCommands() {
Continues the last message in the chat, with an optional additional prompt. Continues the last message in the chat, with an optional additional prompt.
</div> </div>
<div> <div>
If <code>await=true</code> named argument is passed, the command will await for the continued generation before continuing. If <code>await=true</code> named argument is passed, the command will await for the continued generation before proceeding.
</div> </div>
<div> <div>
<strong>Example:</strong> <strong>Example:</strong>
<ul> <ul>
<li> <li>
<pre><code>/continue</code></pre> <pre><code>/continue</code></pre>
Continues the chat with no additional prompt. Continues the chat with no additional prompt and immediately proceeds to the next command.
</li> </li>
<li> <li>
<pre><code>/continue Let's explore this further...</code></pre> <pre><code>/continue await=true Let's explore this further...</code></pre>
Continues the chat with the provided prompt. Continues the chat with the provided prompt and waits for the generation to finish.
</li> </li>
</ul> </ul>
</div> </div>