We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259a81b commit 4bd07c0Copy full SHA for 4bd07c0
ragna/deploy/_ui/central_view.py
@@ -588,7 +588,10 @@ def header(self):
588
):
589
doc_names = [d["name"] for d in self.current_chat["metadata"]["documents"]]
590
591
- for doc_name in doc_names:
+ # FIXME: Instead of setting a hard limit of 20 documents here, this should
592
+ # scale automatically with the width of page
593
+ # See https://github.com/Quansight/ragna/issues/224
594
+ for doc_name in doc_names[:20]:
595
pill = pn.pane.HTML(
596
f"""<div class="chat_document_pill">{doc_name}</div>""",
597
stylesheets=[
0 commit comments