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