Skip to content

Commit

Permalink
feat: default disable balance query
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa committed Nov 7, 2023
1 parent 836bf83 commit 638fdd8
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 651 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ If you do not want users to input their own API key, set this value to 1.
If you do not want users to use GPT-4, set this value to 1.

### `HIDE_BALANCE_QUERY` (optional)
### `ENABLE_BALANCE_QUERY` (optional)

> Default: Empty
If you do not want users to query balance, set this value to 1.
If you do want users to query balance, set this value to 1, or you should set it to 0.

## Requirements

Expand Down
7 changes: 3 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ OpenAI 接口代理 URL,如果你手动配置了 openai 接口代理,请填

如果你不想让用户使用 GPT-4,将此环境变量设置为 1 即可。

### `HIDE_BALANCE_QUERY` (可选)
### `ENABLE_BALANCE_QUERY` (可选)

如果你不想让用户查询余额,将此环境变量设置为 1 即可。
如果你想启用余额查询功能,将此环境变量设置为 1 即可。

## 开发

Expand Down Expand Up @@ -169,7 +169,6 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s

⚠️ 注意:如果你安装过程中遇到了问题,请使用 docker 部署。


## 鸣谢

### 捐赠者
Expand All @@ -181,9 +180,9 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
[见项目贡献者列表](https://github.com/Yidadaa/ChatGPT-Next-Web/graphs/contributors)

### 相关项目

- [one-api](https://github.com/songquanpeng/one-api): 一站式大模型额度管理平台,支持市面上所有主流大语言模型

## 开源协议

[MIT](https://opensource.org/license/mit/)

173 changes: 0 additions & 173 deletions README_ES.md

This file was deleted.

Loading

0 comments on commit 638fdd8

Please sign in to comment.