Skip to content

Commit

Permalink
fix: custom_endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakurasan committed Dec 17, 2024
1 parent f8b364a commit 8f6f331
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,20 @@ wget https://github.com/mirrors2/opencatd-open/raw/main/docker/docker-compose.ym
- [Fly.io](https://fly.io/)
- 或者其他

修改openai的endpoint地址?使用任意上游地址(套娃代理)
- 设置环境变量 openai_endpoint

使用Nginx + Docker部署
- [使用Nginx + Docker部署](./doc/deploy.md)

pandora for team
- [pandora for team](./doc/pandora.md)

如何自定义HOST地址? (仅OpenAI)
- 需修改环境变量,优先级递增
- 需修改环境变量,优先级递增(全局配置谨慎修改)
- Cloudflare AI Gateway地址 `AIGateWay_Endpoint=https://gateway.ai.cloudflare.com/v1/123456789/xxxx/openai/chat/completions`
- 自定义的endpoint `$CUSTOM_ENDPOINT=true && $OpenAI_Endpoint=https://your.domain/v1/chat/completions`
- 自定义的endpoint `OpenAI_Endpoint=https://your.domain/v1/chat/completions`

设置主页跳转地址?
- 修改环境变量 `CUSTOM_REDIRECT=https://your.domain`

## 获取更多信息
[![TG](https://telegram.org/img/favicon.ico)](https://t.me/OpenTeamLLM)

Expand Down

0 comments on commit 8f6f331

Please sign in to comment.