From 521d5e032b7bddd50b651c196750da19d44ec37e Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Tue, 19 Aug 2025 14:33:03 +0800 Subject: [PATCH] 'commit' --- dsLightRag/Routes/QA.py | 2 +- dsSchoolBuddy/TestStart.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dsLightRag/Routes/QA.py b/dsLightRag/Routes/QA.py index b79d1af4..51c8885e 100644 --- a/dsLightRag/Routes/QA.py +++ b/dsLightRag/Routes/QA.py @@ -14,7 +14,7 @@ from Config import Config from ElasticSearch.Utils.EsSearchUtil import EsSearchUtil # 创建路由路由器 -router = APIRouter(prefix="/qa", tags=["答疑"]) +router = APIRouter(prefix="/api/qa", tags=["答疑"]) # 配置日志 logger = logging.getLogger(__name__) diff --git a/dsSchoolBuddy/TestStart.py b/dsSchoolBuddy/TestStart.py index b4b3a4e0..33185407 100644 --- a/dsSchoolBuddy/TestStart.py +++ b/dsSchoolBuddy/TestStart.py @@ -10,8 +10,8 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %( logger = logging.getLogger(__name__) # 服务器地址 -BASE_URL = "http://localhost:8100" -CHAT_ENDPOINT = f"{BASE_URL}/qa/chat" +BASE_URL = "http://10.10.21.20:8200" +CHAT_ENDPOINT = f"{BASE_URL}/api/qa/chat" # 用户ID(固定一个以便模拟多轮对话) USER_ID = "test_user_123"