Skip to content

Commit

Permalink
对英文文档注释CODE的重要性;修改BASE_URL的解释
Browse files Browse the repository at this point in the history
  • Loading branch information
Sha1rholder committed Jul 17, 2024
1 parent 8084d19 commit 696f6d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,21 @@ After adding or modifying this environment variable, please redeploy the project

> [简体中文 > 如何配置 api key、访问密码、接口代理](./README_CN.md#环境变量)
### `CODE`
### `CODE` (important)

Access password, separated by comma.

**Warning** If you do not fill in this, then anyone can use your deployed website, which may cause your token to be quickly consumed. It is recommended to fill in this option.

### `OPENAI_API_KEY`

Your OpenAI api key, join multiple api keys with comma.

### `BASE_URL`

> Default: `https://api.openai.com`
> Example: `http://{your-openai-proxy}.com`
Override OpenAI api request base url.
Override OpenAI Api request base url, which means overriding `https://api.openai.com`.

### `OPENAI_ORG_ID`

Expand Down
8 changes: 3 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,17 @@ code1,code2,code3

OpanAI 密钥,你在 OpenAI 账户页面申请的 api key,使用英文逗号隔开多个 key,这样可以随机轮询这些 key。

### `CODE`
### `CODE`(重要)

访问密码,可选,可以使用逗号隔开多个密码。

**警告**:如果不填写此项,则任何人都可以直接使用你部署后的网站,可能会导致你的 token 被急速消耗完毕,建议填写此选项。

### `BASE_URL`

> Default: `https://api.openai.com`
> Example: `http://{your-openai-proxy}.com`
> Examples: `http://{your-openai-proxy}.com`
OpenAI 接口代理 URL,如果你手动配置了 OpenAI 接口代理,请填写此选项。如果遇到 ssl 证书问题,请将 `BASE_URL` 的协议设置为 http。
OpenAI 接口代理 URL。如果你手动配置了 OpenAI 接口代理,请填写此选项,不填等效于 `https://api.openai.com` 即 OpenAI 原生。如果遇到 ssl 证书问题,请将 `BASE_URL` 的协议设置为 http。

### `OPENAI_ORG_ID`

Expand Down

0 comments on commit 696f6d2

Please sign in to comment.