add filter recipe file

This commit is contained in:
Pakin 2025-09-10 13:52:57 +07:00
parent 08bb0899a3
commit 9fb1d348da

View file

@ -166,6 +166,7 @@ pub fn build_recipe_shardings(source: PathBuf) -> HashMap<String, Value> {
let mut recipes: Vec<Recipe> = files
.par_iter()
.filter(|file| file.ends_with("json") && file.starts_with("coffeethai02"))
.map(|file| common::create_recipe_model_from_file(file.to_string()))
.collect();