fix(all): Image generation fixing.

This commit is contained in:
henrique 2024-08-23 17:18:42 -03:00
parent faa21438fa
commit d518d224db

View file

@ -68,7 +68,7 @@ export class ImageServices {
});
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 res = await fetch(url);