fix: 复活Copilot但有代价

This commit is contained in:
ikechan8370 2025-02-04 23:11:07 +08:00
parent dcae426cfa
commit 243331aa2e
5 changed files with 201 additions and 398 deletions

View file

@ -190,28 +190,9 @@ export function supportGuoba () {
component: 'Divider'
},
{
field: 'toneStyle',
label: 'Bing模式',
bottomHelpMessage: 'Copilot的应答风格。默认为创意可切换为精准或均衡均为GPT-turbo',
component: 'Select',
componentProps: {
options: [
{ label: '创意', value: 'Creative' },
{ label: '均衡', value: 'Balanced' },
{ label: '精准', value: 'Precise' }
]
}
},
{
field: 'sydneyEnableSearch',
label: '是否允许必应进行搜索',
bottomHelpMessage: '关闭后必应将禁用搜索',
component: 'Switch'
},
{
field: 'enableSuggestedResponses',
label: '是否开启建议回复',
bottomHelpMessage: '开启了会像官网上一样,每个问题给出建议的用户问题',
field: 'bingReasoning',
label: 'Bing开启思考',
bottomHelpMessage: 'Copilot的思考功能。开启后无法搜索',
component: 'Switch'
},
{
@ -231,12 +212,6 @@ export function supportGuoba () {
bottomHelpMessage: '加强主人认知。希望机器人认清主人避免NTR可开启。开启后可能会与自设定的内容有部分冲突。sydney模式可以放心开启',
component: 'Switch'
},
{
field: 'enableGenerateContents',
label: '允许生成图像等内容',
bottomHelpMessage: '开启后类似网页版能够发图。但是此选项会占用大量token自设定等模式下容易爆token',
component: 'Switch'
},
{
field: 'groupContextLength',
label: '允许机器人读取近期的最多群聊聊天记录条数。',
@ -255,18 +230,6 @@ export function supportGuoba () {
bottomHelpMessage: '你可以自己改写设定让Copilot变成你希望的样子。可能存在不稳定的情况',
component: 'InputTextArea'
},
{
field: 'sydneyApologyIgnored',
label: 'Bing抱歉是否不计入聊天记录',
bottomHelpMessage: '有时无限抱歉,就关掉这个再多问几次试试,可能有奇效',
component: 'Switch'
},
{
field: 'sydneyContext',
label: 'Bing的扩展资料',
bottomHelpMessage: 'AI将会从你提供的扩展资料中学习到一些知识帮助它更好地回答你的问题。实际相当于使用edge侧边栏Bing时读取的你当前浏览网页的内容。如果太长可能容易到达GPT-4的8192token上限',
component: 'InputTextArea'
},
{
field: 'sydneyReverseProxy',
label: '必应反代',
@ -274,70 +237,40 @@ export function supportGuoba () {
component: 'Input'
},
{
field: 'sydneyForceUseReverse',
label: '强制使用sydney反代',
bottomHelpMessage: '即使配置了proxy创建对话时依然使用必应反代',
component: 'Switch'
},
{
field: 'sydneyWebsocketUseProxy',
label: '对话使用必应反代',
bottomHelpMessage: '默认情况下仅创建对话走反代,对话时仍然直连微软。开启本选项将使对话过程也走反代,需反代支持。默认开启',
component: 'Switch'
},
{
field: 'bingCaptchaOneShotUrl',
label: '必应验证码pass服务',
bottomHelpMessage: '必应出验证码会自动用该服务绕过',
field: 'bingAiToken',
label: '必应AccessToken',
bottomHelpMessage: 'Copilot的AccessTokenscope需为ChatAI.ReadWrite。可以发送`#Copilot配置方法`查看浏览器获取配置的方法。',
component: 'Input'
},
{
field: 'sydneyMood',
label: '情感显示',
bottomHelpMessage: '开启Sydney的情感显示仅在图片模式下生效',
component: 'Switch'
field: 'bingAiClientId',
label: '必应ClientId',
bottomHelpMessage: '配合RefreshToken刷新AccessToken',
component: 'Input'
},
{
field: 'sydneyImageRecognition',
label: '图片识别',
bottomHelpMessage: '开启Sydney的图片识别功能建议和OCR只保留一个开启',
component: 'Switch'
field: 'bingAiScope',
label: '必应Auth Scope',
bottomHelpMessage: '配合RefreshToken刷新AccessToken',
component: 'Input'
},
{
field: 'chatExampleUser1',
label: '前置对话第一轮(用户)',
bottomHelpMessage: '会强行插入该轮对话,能有效抑制抱歉',
component: 'InputTextArea'
field: 'bingAiRefreshToken',
label: '必应RefreshToken',
bottomHelpMessage: '配合RefreshToken刷新AccessToken',
component: 'Input'
},
{
field: 'chatExampleBot1',
label: '前置对话第一轮AI',
bottomHelpMessage: '会强行插入该轮对话,能有效抑制抱歉',
component: 'InputTextArea'
field: 'bingAiOid',
label: '必应Oid',
bottomHelpMessage: 'homeAccountId配合RefreshToken刷新AccessToken',
component: 'Input'
},
{
field: 'chatExampleUser2',
label: '前置对话第二轮(用户)',
bottomHelpMessage: '会强行插入该轮对话,能有效抑制抱歉',
component: 'InputTextArea'
},
{
field: 'chatExampleBot2',
label: '前置对话第二轮AI',
bottomHelpMessage: '会强行插入该轮对话,能有效抑制抱歉',
component: 'InputTextArea'
},
{
field: 'chatExampleUser3',
label: '前置对话第三轮(用户)',
bottomHelpMessage: '会强行插入该轮对话,能有效抑制抱歉',
component: 'InputTextArea'
},
{
field: 'chatExampleBot3',
label: '前置对话第三轮AI',
bottomHelpMessage: '会强行插入该轮对话,能有效抑制抱歉',
component: 'InputTextArea'
field: '_2captchaKey',
label: '2captcha API密钥',
bottomHelpMessage: '用于解除Copilot的验证码',
component: 'Input'
},
{
label: '以下为API3方式的配置',