fix: properly load models at boot (#244)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-06-27 05:20:38 -05:00
committed by GitHub
parent 5f9c20a985
commit 149a8cb1c0
4 changed files with 8 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ class DoclingServeSettings(BaseSettings):
scratch_path: Optional[Path] = None
single_use_results: bool = True
result_removal_delay: float = 300 # 5 minutes
load_models_at_boot: bool = True
options_cache_size: int = 2
enable_remote_services: bool = False
allow_external_plugins: bool = False