| 1117 | } |
| 1118 | |
| 1119 | void gguf_set_val_f32(struct gguf_context * ctx, const char * key, float val) { |
| 1120 | gguf_check_reserved_keys(key, val); |
| 1121 | gguf_remove_key(ctx, key); |
| 1122 | ctx->kv.emplace_back(key, val); |
| 1123 | } |
| 1124 | |
| 1125 | void gguf_set_val_u64(struct gguf_context * ctx, const char * key, uint64_t val) { |
| 1126 | gguf_check_reserved_keys(key, val); |
no test coverage detected