Fix command argument definitions

2a904c4aea06ff2aeb9569b262e5a1116a76f434

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -2Ignore whitespace
public/scripts/reasoning.js+3 -2
@@ -176,15 +176,16 @@ function registerReasoningSlashCommands() {
176 SlashCommandNamedArgument.fromProps({176 SlashCommandNamedArgument.fromProps({
177 name: 'regex',177 name: 'regex',
178 description: 'Whether to apply regex scripts to the reasoning content.',178 description: 'Whether to apply regex scripts to the reasoning content.',
179 typeList: ARGUMENT_TYPE.BOOLEAN,179 typeList: [ARGUMENT_TYPE.BOOLEAN],
180 defaultValue: 'true',180 defaultValue: 'true',
181 isRequired: false,181 isRequired: false,
182 enumProvider: commonEnumProviders.boolean('trueFalse'),
182 }),183 }),
183 ],184 ],
184 unnamedArgumentList: [185 unnamedArgumentList: [
185 SlashCommandArgument.fromProps({186 SlashCommandArgument.fromProps({
186 description: 'input string',187 description: 'input string',
187 typeList: ARGUMENT_TYPE.STRING,188 typeList: [ARGUMENT_TYPE.STRING],
188 }),189 }),
189 ],190 ],
190 callback: (args, value) => {191 callback: (args, value) => {