Bubble up content indexing errors to notify user on client apps

This commit is contained in:
Debanjum Singh Solanky
2023-11-07 02:20:11 -08:00
parent 6e957584ac
commit 404d47f1a1
3 changed files with 24 additions and 12 deletions

View File

@@ -196,7 +196,7 @@ def chat_client(search_config: SearchConfig, default_user2: KhojUser):
# Index Markdown Content for Search
all_files = fs_syncer.collect_files(user=default_user2)
state.content_index = configure_content(
state.content_index, _ = configure_content(
state.content_index, state.config.content_type, all_files, state.search_models, user=default_user2
)