Skip to content

Commit

Permalink
fix document pill check
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Dec 3, 2024
1 parent 824be57 commit 2d59794
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ragna/deploy/_ui/central_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,7 @@ def header(self):
)

chat_documents_pills = []
if (
self.current_chat is not None
and "metadata" in self.current_chat
and "documents" in self.current_chat
):
if self.current_chat is not None:
doc_names = [d["name"] for d in self.current_chat["documents"]]

# FIXME: Instead of setting a hard limit of 20 documents here, this should
Expand Down

0 comments on commit 2d59794

Please sign in to comment.