fix: 部署时注入 OPENAI_BASE_URL 环境变量
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 7m15s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 7m15s
Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -150,6 +150,7 @@ async function main() {
|
||||
// 构建环境变量 - 从当前 .env 读取关键配置注入容器
|
||||
const containerEnv: Record<string, string> = {
|
||||
ANTHROPIC_BASE_URL: process.env.ANTHROPIC_BASE_URL || 'https://api.anthropic.com',
|
||||
OPENAI_BASE_URL: process.env.OPENAI_BASE_URL || 'https://api.openai.com',
|
||||
};
|
||||
|
||||
const result = await deployProxy({
|
||||
|
||||
Reference in New Issue
Block a user