mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
[chore] Run code format
This commit is contained in:
@ -637,7 +637,7 @@ together.post('/generate', jsonParser, async (request, response) => {
|
|||||||
const choice = data?.data?.[0];
|
const choice = data?.data?.[0];
|
||||||
let b64_json = choice.b64_json;
|
let b64_json = choice.b64_json;
|
||||||
|
|
||||||
if(! b64_json) {
|
if (!b64_json) {
|
||||||
const buffer = await (await fetch(choice.url)).buffer();
|
const buffer = await (await fetch(choice.url)).buffer();
|
||||||
b64_json = buffer.toString('base64');
|
b64_json = buffer.toString('base64');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user