Merge pull request #3382 from SillyTavern/staging

Staging into reasoning-regex
This commit is contained in:
Cohee
2025-01-29 11:38:50 +02:00
committed by GitHub
8 changed files with 123 additions and 8 deletions

View File

@ -147,7 +147,7 @@ function registerReasoningSlashCommands() {
}),
],
callback: async (args, value) => {
const messageId = !isNaN(Number(args[0])) ? Number(args[0]) : chat.length - 1;
const messageId = !isNaN(Number(args.at)) ? Number(args.at) : chat.length - 1;
const message = chat[messageId];
if (!message?.extra) {
return '';