feat: sync models with OpenAI (#971)

* add new 0125 chat models and embedding-3 models

* refine the step of manually deploying

* add gpt-4-turbo-preview
This commit is contained in:
Benny
2024-01-28 16:09:21 +08:00
committed by GitHub
parent 4f214c48c6
commit 26e2e646cb
5 changed files with 61 additions and 6 deletions

View File

@@ -174,12 +174,12 @@ docker-compose ps
git clone https://github.com/songquanpeng/one-api.git
# 构建前端
cd one-api/web
cd one-api/web/default
npm install
npm run build
# 构建后端
cd ..
cd ../..
go mod download
go build -ldflags "-s -w" -o one-api
````