utils.hpp: make from_json utility for llama_control_vector_load_info static

This commit is contained in:
trollkotze 2024-03-26 21:08:23 +01:00
parent 2506fed8e8
commit 6eae8bf5c3

View file

@ -616,7 +616,7 @@ static json format_error_response(const std::string & message, const enum error_
};
}
void from_json(const json& j, llama_control_vector_load_info& l) {
static void from_json(const json& j, llama_control_vector_load_info& l) {
j.at("strength").get_to(l.strength);
j.at("fname").get_to(l.fname);
}