enh/refac: kb pagination

This commit is contained in:
Timothy Jaeryang Baek committed 2025-12-10 23:19:19 -05:00
1 parent 3ed1df2e53
commit ceae3d48e6
18 files changed
+1086 -526

No files matched your search

@@ -28,9 +28,6 @@
await Promise.all([
(async () => {
prompts.set(await getPrompts(localStorage.token));
})(),
(async () => {
knowledge.set(await getKnowledgeBases(localStorage.token));
})()
]);
loading = false;
@@ -103,7 +100,6 @@
bind:this={suggestionElement}
{query}
bind:filteredItems
knowledge={$knowledge ?? []}
onSelect={(e) => {
const { type, data } = e;