mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Example message context fix
The default size of avatars has been changed to a larger one
This commit is contained in:
@@ -385,7 +385,7 @@ async function charaWrite(img_url, data, name, response = undefined, mes = 'ok')
|
||||
try {
|
||||
// Load the image in any format
|
||||
sharp.cache(false);
|
||||
var image = await sharp(img_url).resize(170, 234).toFormat('png').toBuffer();
|
||||
var image = await sharp(img_url).resize(400, 600).toFormat('png').toBuffer();// old 170 234
|
||||
// Convert the image to PNG format
|
||||
//const pngImage = image.toFormat('png');
|
||||
|
||||
|
Reference in New Issue
Block a user