refactor: remove protocol env vars

This commit is contained in:
Yidadaa
2023-04-15 02:50:04 +08:00
parent 47a2911ee2
commit 0a79df3670
3 changed files with 17 additions and 19 deletions

View File

@@ -43,6 +43,7 @@
- 在 Vercel 重新选择并部署,[请查看详细教程](./docs/vercel-cn.md#如何新建项目)。
### 打开自动更新
当你 fork 项目之后,由于 Github 的限制,需要手动去你 fork 后的项目的 Actions 页面启用 Workflows并启用 Upstream Sync Action启用之后即可开启每小时定时自动更新
![自动更新](./docs/images/enable-actions.jpg)
@@ -85,17 +86,12 @@ OpanAI 密钥,你在 openai 账户页面申请的 api key。
### `BASE_URL` (可选)
> Default: `api.openai.com`
> Default: `https://api.openai.com`
> Examples: `http://your-openai-proxy.com`
OpenAI 接口代理 URL如果你手动配置了 openai 接口代理,请填写此选项。
### `PROTOCOL` (可选)
> Default: `https`
> Values: `http` | `https`
OpenAI 代理接口协议,如果遇到 ssl 证书问题,请尝试通过此选项设置为 http。
> 如果遇到 ssl 证书问题,请将 `BASE_URL` 的协议设置为 http。
## 开发