mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Propagate flags to configure index command
This commit is contained in:
@@ -608,7 +608,7 @@ def update(
|
||||
logger.warning(error_msg)
|
||||
raise HTTPException(status_code=500, detail=error_msg)
|
||||
try:
|
||||
configure_server(state.config)
|
||||
configure_server(state.config, regenerate=force, search_type=t)
|
||||
except Exception as e:
|
||||
error_msg = f"🚨 Failed to update server via API: {e}"
|
||||
logger.error(error_msg, exc_info=True)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Standard Packages
|
||||
import logging
|
||||
import sys
|
||||
import json
|
||||
from typing import Optional, Union, Dict
|
||||
|
||||
# External Packages
|
||||
|
||||
Reference in New Issue
Block a user