Commit 8cf84ed4 authored by 于飞's avatar 于飞

非遗的不显示relations标签

parent 9d2e5f7d
......@@ -138,7 +138,7 @@ class ChatKnowledge(BaseChat):
#if CFG.SELF_KNOWLEDGE_CHAT_SHOW_RELATIONS:
#非遗的代码先写死吧
if self.knowledge_space == "非遗项目":
if self.knowledge_space != "非遗项目":
if (
CFG.KNOWLEDGE_CHAT_SHOW_RELATIONS
and last_output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment