Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
250a2088
authored
Dec 14, 2023
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README.md
parent
a88c2f0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
README.md
+12
-1
No files found.
README.md
View file @
250a2088
...
...
@@ -30,7 +30,18 @@
5.
渠道显示已使用额度,支持指定组织访问
6.
分页支持选择每页显示数量
7.
支持 gpt-4-1106-vision-preview,dall-e-3,tts-1
8.
支持第三方模型
**gpt-4-gizmo-**
*
(gpts)
8.
支持第三方模型
**gps**
(gpt-4-gizmo-
*),在渠道中添加自定义模型gpt-4-gizmo-*
即可
9.
兼容原版One API的数据库,可直接使用原版数据库(one-api.db)
## 部署
### 基于 Docker 进行部署
```
shell
# 使用 SQLite 的部署命令:
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
TZ
=
Asia/Shanghai
-v
/home/ubuntu/data/new-api:/data calciumion/new-api:latest
# 使用 MySQL 的部署命令,在上面的基础上添加 `-e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi"`,请自行修改数据库连接参数。
# 例如:
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
SQL_DSN
=
"root:123456@tcp(localhost:3306)/oneapi"
-e
TZ
=
Asia/Shanghai
-v
/home/ubuntu/data/new-api:/data calciumion/new-api:latest
```
## 交流群
<img
src=
"https://github.com/Calcium-Ion/new-api/assets/61247483/de536a8a-0161-47a7-a0a2-66ef6de81266"
width=
"500"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment