mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add images to quiet prompts if inlining enabled
This commit is contained in:
@ -103,7 +103,7 @@ class ModuleWorkerWrapper {
|
||||
}
|
||||
|
||||
// Called by the extension
|
||||
async update() {
|
||||
async update(...args) {
|
||||
// Don't touch me I'm busy...
|
||||
if (this.isBusy) {
|
||||
return;
|
||||
@ -112,7 +112,7 @@ class ModuleWorkerWrapper {
|
||||
// I'm free. Let's update!
|
||||
try {
|
||||
this.isBusy = true;
|
||||
await this.callback();
|
||||
await this.callback(...args);
|
||||
}
|
||||
finally {
|
||||
this.isBusy = false;
|
||||
|
Reference in New Issue
Block a user