| 57 | return out; |
| 58 | } |
| 59 | |
| 60 | std::string advertised_instructions_policy() const override { |
| 61 | return "text_prefix"; |
| 62 | } |
| 63 | |
| 64 | bool can_load(const runtime::ModelLoadRequest &request) const override { |
| 65 | try { |
| 66 | (void)engine::model_spec::load_resource_bundle( |
| 67 | request.model_path, |
| 68 | engine::model_spec::default_spec_path(family())); |
| 69 | return !request.family_hint.has_value() || *request.family_hint == family(); |
| 70 | } catch (...) { |
| 71 | return false; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | runtime::ModelInspection |
no outgoing calls
no test coverage detected