feat: make Citations and Attributions display enable default (#5508)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
takatost
2024-06-24 13:03:49 +08:00
committed by GitHub
parent 54b8d98cde
commit 4a031de0d9
7 changed files with 24 additions and 5 deletions

View File

@@ -265,7 +265,7 @@ class AppModelConfig(db.Model):
@property
def retriever_resource_dict(self) -> dict:
return json.loads(self.retriever_resource) if self.retriever_resource \
else {"enabled": False}
else {"enabled": True}
@property
def annotation_reply_dict(self) -> dict: