mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
修复bing图片生成请求(绘图接口仍有问题)
This commit is contained in:
parent
8dab6fd0b5
commit
33e04c1c24
3 changed files with 56 additions and 6 deletions
|
|
@ -386,7 +386,7 @@ export default class SydneyAIClient {
|
|||
}
|
||||
let optionsSets = getOptionSet(Config.toneStyle, Config.enableGenerateContents)
|
||||
let source = 'cib-ccp'; let gptId = 'copilot'
|
||||
if (!Config.sydneyEnableSearch || toSummaryFileContent?.content) {
|
||||
if ((!Config.sydneyEnableSearch && !Config.enableGenerateContents) || toSummaryFileContent?.content) {
|
||||
optionsSets.push(...['nosearchall'])
|
||||
}
|
||||
if (isPro) {
|
||||
|
|
@ -430,7 +430,9 @@ export default class SydneyAIClient {
|
|||
'SemanticSerp',
|
||||
'GenerateContentQuery',
|
||||
'SearchQuery',
|
||||
'GeneratedCode'
|
||||
'GeneratedCode',
|
||||
// 'InternalTasksMessage',
|
||||
// 'Disclaimer'
|
||||
],
|
||||
sliceIds: [],
|
||||
requestId: crypto.randomUUID(),
|
||||
|
|
@ -1025,8 +1027,5 @@ function getOptionSet (tone, generateContent = false) {
|
|||
])
|
||||
break
|
||||
}
|
||||
if (generateContent) {
|
||||
optionset.push('gencontentv3')
|
||||
}
|
||||
return optionset
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue