Apply custom loaders and filtering to the loaded models data
(&self, enable_experimental: bool)
| 184 | |
| 185 | /// Apply custom loaders and filtering to the loaded models data |
| 186 | pub async fn get_with_customization(&self, enable_experimental: bool) -> ModelsData { |
| 187 | let mut data = self.get().await; |
| 188 | crate::bootstrap::apply_custom_loaders(&mut data); |
| 189 | crate::bootstrap::filter_models_by_status(&mut data, enable_experimental); |
| 190 | data |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | impl Default for ModelsRegistry { |
nothing calls this directly
no test coverage detected