mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-22 23:18:27 +01:00
fix missing substituteParams when executing non-command QRs
This commit is contained in:
parent
f7b1b490c7
commit
fffdd8e5d8
@ -1,4 +1,4 @@
|
|||||||
import { getRequestHeaders } from '../../../../script.js';
|
import { getRequestHeaders, substituteParams } from '../../../../script.js';
|
||||||
import { executeSlashCommands } from '../../../slash-commands.js';
|
import { executeSlashCommands } from '../../../slash-commands.js';
|
||||||
import { debounceAsync, warn } from '../index.js';
|
import { debounceAsync, warn } from '../index.js';
|
||||||
import { QuickReply } from './QuickReply.js';
|
import { QuickReply } from './QuickReply.js';
|
||||||
@ -123,7 +123,7 @@ export class QuickReplySet {
|
|||||||
return typeof result === 'object' ? result?.pipe : '';
|
return typeof result === 'object' ? result?.pipe : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
ta.value = input;
|
ta.value = substituteParams(input);
|
||||||
ta.focus();
|
ta.focus();
|
||||||
|
|
||||||
if (!this.disableSend) {
|
if (!this.disableSend) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user