From 4188deb386bc5f652f4aac2e7e2d9b1f31a10cc2 Mon Sep 17 00:00:00 2001 From: lxfight <1686540385@qq.com> Date: Sat, 25 Oct 2025 14:13:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AE=80=E5=8C=96=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/dashboard/routes/knowledge_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/dashboard/routes/knowledge_base.py b/astrbot/dashboard/routes/knowledge_base.py index 053652f6a..f294139e4 100644 --- a/astrbot/dashboard/routes/knowledge_base.py +++ b/astrbot/dashboard/routes/knowledge_base.py @@ -983,7 +983,7 @@ class KnowledgeBaseRoute(Route): .__dict__ ) else: - logger.error(f"[KB配置] 配置保存失败,验证不匹配") + logger.error("[KB配置] 配置保存失败,验证不匹配") return Response().error("配置保存失败").__dict__ except Exception as e: