From 8f6f3313f5ba2bc230735494426f788cf9ee715f Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Wed, 18 Dec 2024 01:08:23 +0800 Subject: [PATCH] fix: custom_endpoint --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 482f18c..c58107b 100644 --- a/README.md +++ b/README.md @@ -77,9 +77,6 @@ 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) @@ -87,12 +84,13 @@ 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)