mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: Custom模式无效的问题;一些管理指令
This commit is contained in:
parent
d4f8b4318d
commit
1b4bc49612
3 changed files with 41 additions and 3 deletions
|
|
@ -754,9 +754,9 @@ export class chatgpt extends plugin {
|
|||
cookies = bingToken
|
||||
}
|
||||
let bingAIClient
|
||||
if (Config.toneStyle === 'Sydney') {
|
||||
if (Config.toneStyle === 'Sydney' || Config.toneStyle === 'Custom' ) {
|
||||
const cacheOptions = {
|
||||
namespace: 'Sydney',
|
||||
namespace: Config.toneStyle,
|
||||
store: new KeyvFile({ filename: 'cache.json' })
|
||||
}
|
||||
bingAIClient = new SydneyAIClient({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue