feat: Bing Image Creator

This commit is contained in:
fuegovic 2023-07-20 00:53:21 -04:00 committed by Danny Avila
parent ad29d25396
commit 530f9d303f
3 changed files with 24 additions and 2 deletions

View file

@ -47,6 +47,16 @@ const askBing = async ({
parentMessageId,
toneStyle,
onProgress,
clientOptions: {
features: {
genImage: {
server: {
enable: true,
type: 'markdown_list',
},
},
},
},
};
} else {
options = {
@ -56,6 +66,16 @@ const askBing = async ({
parentMessageId,
toneStyle,
onProgress,
clientOptions: {
features: {
genImage: {
server: {
enable: true,
type: 'markdown_list',
},
},
},
},
};
// don't give those parameters for new conversation