mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add aliases for reasoning commands
This commit is contained in:
@ -117,6 +117,7 @@ function loadReasoningSettings() {
|
|||||||
function registerReasoningSlashCommands() {
|
function registerReasoningSlashCommands() {
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
||||||
name: 'reasoning-get',
|
name: 'reasoning-get',
|
||||||
|
aliases: ['get-reasoning'],
|
||||||
returns: ARGUMENT_TYPE.STRING,
|
returns: ARGUMENT_TYPE.STRING,
|
||||||
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.`,
|
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.`,
|
||||||
unnamedArgumentList: [
|
unnamedArgumentList: [
|
||||||
@ -136,6 +137,7 @@ function registerReasoningSlashCommands() {
|
|||||||
|
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
||||||
name: 'reasoning-set',
|
name: 'reasoning-set',
|
||||||
|
aliases: ['set-reasoning'],
|
||||||
returns: ARGUMENT_TYPE.STRING,
|
returns: ARGUMENT_TYPE.STRING,
|
||||||
helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`,
|
helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`,
|
||||||
namedArgumentList: [
|
namedArgumentList: [
|
||||||
@ -170,6 +172,7 @@ function registerReasoningSlashCommands() {
|
|||||||
|
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
||||||
name: 'reasoning-parse',
|
name: 'reasoning-parse',
|
||||||
|
aliases: ['parse-reasoning'],
|
||||||
returns: 'reasoning string',
|
returns: 'reasoning string',
|
||||||
helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`,
|
helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`,
|
||||||
namedArgumentList: [
|
namedArgumentList: [
|
||||||
|
Reference in New Issue
Block a user