mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Pass indexed filenames in API response for client validation
This commit is contained in:
@@ -148,7 +148,8 @@ async def update(
|
|||||||
|
|
||||||
logger.info(f"📪 Content index updated via API call by {client} client")
|
logger.info(f"📪 Content index updated via API call by {client} client")
|
||||||
|
|
||||||
return Response(content="OK", status_code=200)
|
indexed_filenames = ",".join(file for ctype in index_files for file in index_files[ctype])
|
||||||
|
return Response(content=indexed_filenames, status_code=200)
|
||||||
|
|
||||||
|
|
||||||
def configure_search(search_models: SearchModels, search_config: Optional[SearchConfig]) -> Optional[SearchModels]:
|
def configure_search(search_models: SearchModels, search_config: Optional[SearchConfig]) -> Optional[SearchModels]:
|
||||||
|
|||||||
Reference in New Issue
Block a user