MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / can_load

Method can_load

src/models/vibevoice/loader.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 } catch (...) {
84 return false;
85 }
86 }
87
88 runtime::ModelInspection inspect(const runtime::ModelLoadRequest & request) const override {
89 const auto assets = load_vibevoice_assets(request.model_path);
90 runtime::ModelInspection inspection;
91 inspection.model_root = assets->resources.model_root();
92 inspection.metadata = metadata(*assets);
93 inspection.capabilities = capabilities(*assets);
94 inspection.cli = cli(*assets);
95 const auto package_spec = engine::model_spec::default_spec_path(family());
96 inspection.discovered_configs = runtime::discover_named_assets_from_package_spec(

Callers

nothing calls this directly

Calls 2

has_vibevoice_assetsFunction · 0.85
resolve_model_rootFunction · 0.70

Tested by

no test coverage detected