Commit 9d2e5f7d authored by 于飞's avatar 于飞

非遗去掉relations标签

parent 78ee1f84
......@@ -136,6 +136,9 @@ class ChatKnowledge(BaseChat):
last_output = output
yield output
#if CFG.SELF_KNOWLEDGE_CHAT_SHOW_RELATIONS:
#非遗的代码先写死吧
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