diff --git a/py/config.py b/py/config.py index 0931b6fa..68354937 100644 --- a/py/config.py +++ b/py/config.py @@ -208,6 +208,12 @@ class Config: if not isinstance(library_config, dict): return + # Always read recipes_path — it is independent of extra folder paths + # and must be set before any early returns below. + recipes_path = library_config.get("recipes_path", "") + if isinstance(recipes_path, str) and recipes_path: + self.recipes_path = recipes_path + extra_folder_paths = library_config.get("extra_folder_paths") if not isinstance(extra_folder_paths, dict): return @@ -233,10 +239,6 @@ class Config: extra_embedding ) - recipes_path = library_config.get("recipes_path", "") - if isinstance(recipes_path, str) and recipes_path: - self.recipes_path = recipes_path - if self.extra_loras_roots: logger.info( "Found extra LoRA roots:"