| 358 | } |
| 359 | |
| 360 | const char * llama_sampler_name(const struct llama_sampler * smpl) { |
| 361 | if (!smpl->iface) { |
| 362 | return "(null)"; |
| 363 | } |
| 364 | |
| 365 | return smpl->iface->name(smpl); |
| 366 | } |
| 367 | |
| 368 | void llama_sampler_accept(struct llama_sampler * smpl, llama_token token) { |
| 369 | if (!smpl) { |
no test coverage detected