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
commit 4a031de0d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: