From 964e4925c018f8118dd6bed72fabceff707e6427 Mon Sep 17 00:00:00 2001 From: sophie <16087569+sophie_liang@user.noreply.gitee.com> Date: Thu, 14 May 2026 18:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=BF=9E=E9=80=9A=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/.env | 2 -- backend/app/api/admin.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/.env b/backend/.env index 13e498b2..1dc154a4 100644 --- a/backend/.env +++ b/backend/.env @@ -29,8 +29,6 @@ AUTH_LOCAL_JWT_ISSUER=hxops-backend AUTH_LOCAL_JWT_AUDIENCE=hxops-frontend AUTH_LOCAL_JWT_EXPIRES_HOURS=12 -DATABASE_URL=postgresql://postgres:@localhost:5432/hxops_db - # SiliconFlow API Configuration GJL_API_KEY=sk-umfzicwjcvwampzblqczckkqojiscyybtaljzbsvpdwdvxlu GJL_API_BASE=https://api.siliconflow.cn/v1 diff --git a/backend/app/api/admin.py b/backend/app/api/admin.py index 87b0933d..0bdb06e2 100644 --- a/backend/app/api/admin.py +++ b/backend/app/api/admin.py @@ -446,7 +446,7 @@ def test_agent(id): 'tested_at': tested_at }), 400 - request_url = DifyService.build_chat_messages_url(base_url) + request_url = DifyService._build_chat_messages_url(base_url) payload = { 'inputs': {}, 'query': '系统连通性测试,请简短回复OK。',