mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 适应包的修改避免API模式404
This commit is contained in:
parent
24f1b6d9d0
commit
b35a609b63
2 changed files with 5 additions and 5 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"apiKey": "",
|
||||
"proxy": "",
|
||||
"openAiBaseUrl": "https://api.openai.com",
|
||||
"api": "https://chatgpt.duti.tech/api/conversation",
|
||||
"apiBaseUrl": "https://chatgpt.duti.tech/api",
|
||||
"openAiBaseUrl": "https://mondstadt.d201.eu.org/v1",
|
||||
"api": "https://pimon.d201.cn/backend-api/conversation",
|
||||
"apiBaseUrl": "https://pimon.d201.cn/backend-api",
|
||||
"promptPrefixOverride": "Your answer shouldn't be too verbose. If you are generating a list, do not have too many items. Keep the number of items short. Prefer to answer in Chinese.",
|
||||
"debug": false,
|
||||
"blockWords": ["屏蔽词1", "屏蔽词b"],
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ import lodash from 'lodash'
|
|||
export const defaultChatGPTAPI = 'https://pimon.d201.cn/backend-api/conversation'
|
||||
export const officialChatGPTAPI = 'https://pimon.d201.cn/backend-api/conversation'
|
||||
// Reverse proxy of https://api.openai.com
|
||||
export const defaultOpenAIReverseProxy = 'https://mondstadt.d201.eu.org'
|
||||
export const defaultOpenAIReverseProxy = 'https://mondstadt.d201.eu.org/v1'
|
||||
// blocked in China Mainland
|
||||
export const defaultOpenAIAPI = 'https://api.openai.com'
|
||||
export const defaultOpenAIAPI = 'https://api.openai.com/v1'
|
||||
const defaultConfig = {
|
||||
blockWords: ['屏蔽词1', '屏蔽词b'],
|
||||
promptBlockWords: ['屏蔽词1', '屏蔽词b'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue