Merge pull request #74 from songquanpeng/main

Fork Sync: Update from parent repository
This commit is contained in:
quzard 2023-06-24 12:22:36 +08:00 committed by GitHub
commit 6f14b092d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View File

@ -33,28 +33,28 @@ _✨ The all-in-one OpenAI interface, integrates various API access methods, rea
</p>
<p align="center">
<a href="https://github.com/songquanpeng/one-api#deployment">Deployment Tutorial</a>
<a href="#deployment">Deployment Tutorial</a>
·
<a href="https://github.com/songquanpeng/one-api#usage">Usage</a>
<a href="#usage">Usage</a>
·
<a href="https://github.com/songquanpeng/one-api/issues">Feedback</a>
·
<a href="https://github.com/songquanpeng/one-api#screenshots">Screenshots</a>
<a href="#screenshots">Screenshots</a>
·
<a href="https://openai.justsong.cn/">Live Demo</a>
·
<a href="https://github.com/songquanpeng/one-api#faq">FAQ</a>
<a href="#faq">FAQ</a>
·
<a href="https://github.com/songquanpeng/one-api#related-projects">Related Projects</a>
<a href="#related-projects">Related Projects</a>
·
<a href="https://iamazing.cn/page/reward">Donate</a>
</p>
> **Warning**: This README is translated by ChatGPT. Please feel free to submit a PR if you find any translation errors.
> **Note**: The latest image pulled from Docker may be an `alpha` release. Specify the version manually if you require stability.
> **Warning**: The Docker image for English version is `justsong/one-api-en`.
> **Warning**: Manual migration of the database is necessary when upgrading from version `v0.3` to `v0.4`. Please manually execute the [database migration script](./bin/migration_v0.3-v0.4.sql).
> **Note**: The latest image pulled from Docker may be an `alpha` release. Specify the version manually if you require stability.
## Features
1. Supports multiple API access channels. Welcome PRs or issue submissions for additional channels:
@ -94,7 +94,7 @@ _✨ The all-in-one OpenAI interface, integrates various API access methods, rea
## Deployment
### Docker Deployment
Deployment command: `docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api`
Deployment command: `docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api-en`
Update command: `docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower -cR`

View File

@ -424,5 +424,7 @@
"注意,令牌的额度仅用于限制令牌本身的最大额度使用量,实际的使用受到账户的剩余额度限制。": "Note that the quota of the token is only used to limit the maximum quota usage of the token itself, and the actual usage is limited by the remaining quota of the account.",
"设置为无限额度": "Set to unlimited quota",
"更新令牌信息": "Update Token Information",
"请输入充值码!": "Please enter the recharge code!"
"请输入充值码!": "Please enter the recharge code!",
"请输入名称": "Please enter a name",
"请输入密钥,一行一个": "Please enter the key, one per line"
}