mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
feat: 适配copilot pro账户的gpt4-turbo选项
This commit is contained in:
parent
3709166b2d
commit
8bdf9a3b6d
5 changed files with 60 additions and 32 deletions
|
|
@ -383,6 +383,9 @@ export default class SydneyAIClient {
|
|||
if (!Config.sydneyEnableSearch || toSummaryFileContent?.content) {
|
||||
optionsSets.push(...['nosearchall'])
|
||||
}
|
||||
if (Config.sydneyGPT4Turbo) {
|
||||
optionsSets.push('gpt4tmnc')
|
||||
}
|
||||
let maxConv = Config.maxNumUserMessagesInConversation
|
||||
const currentDate = moment().format('YYYY-MM-DDTHH:mm:ssZ')
|
||||
const imageDate = await this.kblobImage(opts.imageUrl)
|
||||
|
|
@ -482,6 +485,7 @@ export default class SydneyAIClient {
|
|||
// }
|
||||
]
|
||||
}
|
||||
|
||||
if (encryptedconversationsignature) {
|
||||
delete argument0.conversationSignature
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue