mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
feat: add support for configurable reverse proxy url
This commit is contained in:
parent
58e1d00453
commit
11f35af89e
2 changed files with 6 additions and 1 deletions
|
|
@ -26,6 +26,11 @@ export const Config = {
|
|||
// ***********************************************************************************************************************************
|
||||
// 如果购买了plus,改为true将使用收费模型,响应更快
|
||||
plus: false,
|
||||
// 使用谁提供的第三方API。github开源的有几个,没特别要求保持默认就好
|
||||
// https://chatgpt.pawan.krd/api/completions 来自https://github.com/PawanOsman 使用Cloudflare CDN,三网延迟可能都较高。目前看起来最稳定
|
||||
// https://chatgpt.roki.best/api/completions 对上面那个的二次反代,搭建在Hong Kong(本人自建,不保证稳定性)
|
||||
// https://chatgpt.hato.ai/completions 来自https://github.com/waylaidwanderer(本插件使用的chatgpt库之一的作者)
|
||||
reverseProxy: 'https://chatgpt.pawan.krd/api/completions',
|
||||
// ***********************************************************************************************************************************
|
||||
// 以下为API/API2方式公用的配置 *
|
||||
// ***********************************************************************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue