From 463ade5a004fae08cd3fd6322fdf9aabdf9338e1 Mon Sep 17 00:00:00 2001 From: chenpei Date: Mon, 27 Oct 2025 18:29:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E7=9A=84Gemini=20API=E4=BB=A3=E7=90=86=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新API_BASE_URL为: https://api.huandutech.com/v1 - 修复AI聊天连接超时问题 - 使用国内可访问的API代理服务 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9b363cff..5e2148d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ services: - NEXTAUTH_URL=http://192.168.58.20:4320 - NEXTAUTH_SECRET=your-secret-key-change-this-in-production - GEMINI_API_KEY=sk-NqhrkeBudn6pUtStnOuOnGyDfasogvFSsex4YgjDXJU3SK3E - - GEMINI_API_BASE_URL=https://generativelanguage.googleapis.com/v1beta + - GEMINI_API_BASE_URL=https://api.huandutech.com/v1 - GEMINI_MODEL=gemini-2.0-flash-exp volumes: - ./uploads:/app/uploads