feat: add support for configurable reverse proxy url

This commit is contained in:
ikechan8370 2023-02-14 12:04:43 +08:00
parent 58e1d00453
commit 11f35af89e
2 changed files with 6 additions and 1 deletions

View file

@ -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方式公用的配置 *
// ***********************************************************************************************************************************