Merge branch 'main' of https://github.com/GeneralBots/BotServer
This commit is contained in:
commit
12418bd1b8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,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