Add aliases for reasoning commands
| @@ -117,6 +117,7 @@ function loadReasoningSettings() { | |||
| 117 | function registerReasoningSlashCommands() { | 117 | function registerReasoningSlashCommands() { |
| 118 | SlashCommandParser.addCommandObject(SlashCommand.fromProps({ | 118 | SlashCommandParser.addCommandObject(SlashCommand.fromProps({ |
| 119 | name: 'reasoning-get', | 119 | name: 'reasoning-get', |
| 120 | aliases: ['get-reasoning'], | ||
| 120 | returns: ARGUMENT_TYPE.STRING, | 121 | returns: ARGUMENT_TYPE.STRING, |
| 121 | helpString: t`Get the contents of a reasoning block of a message. Returns an empty string if the message does not have a reasoning block.`, | 122 | helpString: t`Get the contents of a reasoning block of a message. Returns an empty string if the message does not have a reasoning block.`, |
| 122 | unnamedArgumentList: [ | 123 | unnamedArgumentList: [ |
| @@ -136,6 +137,7 @@ function registerReasoningSlashCommands() { | |||
| 136 | 137 | ||
| 137 | SlashCommandParser.addCommandObject(SlashCommand.fromProps({ | 138 | SlashCommandParser.addCommandObject(SlashCommand.fromProps({ |
| 138 | name: 'reasoning-set', | 139 | name: 'reasoning-set', |
| 140 | aliases: ['set-reasoning'], | ||
| 139 | returns: ARGUMENT_TYPE.STRING, | 141 | returns: ARGUMENT_TYPE.STRING, |
| 140 | helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`, | 142 | helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`, |
| 141 | namedArgumentList: [ | 143 | namedArgumentList: [ |
| @@ -170,6 +172,7 @@ function registerReasoningSlashCommands() { | |||
| 170 | 172 | ||
| 171 | SlashCommandParser.addCommandObject(SlashCommand.fromProps({ | 173 | SlashCommandParser.addCommandObject(SlashCommand.fromProps({ |
| 172 | name: 'reasoning-parse', | 174 | name: 'reasoning-parse', |
| 175 | aliases: ['parse-reasoning'], | ||
| 173 | returns: 'reasoning string', | 176 | returns: 'reasoning string', |
| 174 | helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`, | 177 | helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`, |
| 175 | namedArgumentList: [ | 178 | namedArgumentList: [ |