|
|
@@ -15,8 +15,8 @@ from agent.core.prompts import build_reflect_prompt, COMPLETION_REFLECT_PROMPT
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
-# KnowHub Server API 地址
|
|
|
-KNOWHUB_API = os.getenv("KNOWHUB_API", "http://localhost:8000")
|
|
|
+# KnowHub Server API 地址(去除末尾斜杠)
|
|
|
+KNOWHUB_API = os.getenv("KNOWHUB_API", "http://localhost:8000").rstrip("/")
|
|
|
|
|
|
|
|
|
# ===== 知识管理配置 =====
|