| 77 | // no-op and the log matches the pre-load-progress behavior exactly. |
| 78 | if (!engine::core::load_progress_enabled() || !engine::debug::trace_log_enabled()) { |
| 79 | return; |
| 80 | } |
| 81 | engine::debug::trace_log_scalar("runtime.load.phase", std::string_view{"loaded"}); |
| 82 | engine::core::end_model_load(); |
| 83 | } |
| 84 | |
| 85 | void ModelRegistry::register_loader(std::shared_ptr<IVoiceModelLoader> loader) { |
| 86 | if (loader == nullptr) { |
| 87 | throw std::invalid_argument("model loader must not be null"); |
no outgoing calls
no test coverage detected