fix(all): Image generation fixing.
This commit is contained in:
parent
faa21438fa
commit
d518d224db
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ export class ImageServices {
|
||||||
});
|
});
|
||||||
|
|
||||||
const gbaiName = DialogKeywords.getGBAIPath(min.botId);
|
const gbaiName = DialogKeywords.getGBAIPath(min.botId);
|
||||||
const localName = Path.join('work', gbaiName, 'cache', `img${GBAdminService.getRndReadableIdentifier()}.png`);
|
const localName = Path.join('work', gbaiName, 'cache', `DALL-E${GBAdminService.getRndReadableIdentifier()}.png`);
|
||||||
|
|
||||||
const url = response.data[0].url;
|
const url = response.data[0].url;
|
||||||
const res = await fetch(url);
|
const res = await fetch(url);
|
||||||
|
|
Loading…
Add table
Reference in a new issue