MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / get_with_customization

Method get_with_customization

crates/opencode-provider/src/models.rs:186–191  ·  view source on GitHub ↗

Apply custom loaders and filtering to the loaded models data

(&self, enable_experimental: bool)

Source from the content-addressed store, hash-verified

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
194impl Default for ModelsRegistry {

Callers

nothing calls this directly

Calls 3

apply_custom_loadersFunction · 0.85
filter_models_by_statusFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected