From 0b571ee3ac2fd99b750e4a69f4c2c08675b047d0 Mon Sep 17 00:00:00 2001 From: Andrew Huang Date: Thu, 31 Oct 2024 13:03:43 -0700 Subject: [PATCH] add tabulator filter placeholder --- lumen/ai/agents.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lumen/ai/agents.py b/lumen/ai/agents.py index 336736e2..eb0011e4 100644 --- a/lumen/ai/agents.py +++ b/lumen/ai/agents.py @@ -401,7 +401,9 @@ async def answer(self, messages: list | str): widths={'Table': '90%'}, disabled=True, page_size=10, - header_filters=True + header_filters={ + "Table": {"type": "input", "placeholder": "Filter by..."}, + } ) table_list.on_click(self._use_table) self.interface.stream(table_list, user="Lumen")