Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
修改readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekohy committed Nov 3, 2024
1 parent df7b459 commit e3a758e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
API_PREFIX环境变量为/hf

# 一键部署
## Vercel部署后若修改参数请记得重新Redeploy

[![Deploy on Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Nekohy/pieces-os&project-name=Pieces-OS&repository-name=Pieces-OS)

[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?name=pieces-os&type=docker&image=chb2024%2Fpieces-os%3Alatest&regions=was&env%5B%5D=&ports=8787%3Bhttp%3B%2F)
Expand Down Expand Up @@ -107,7 +109,7 @@ curl --request GET 'http://127.0.0.1:8787/v1/models' \
请求
curl --request POST 'http://127.0.0.1:8787/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer Your API_KEY"
--header "Authorization: Bearer Your API_KEY" \
--data '{
"messages": [
{
Expand Down

0 comments on commit e3a758e

Please sign in to comment.