fix parameter type

This commit is contained in:
anon 2023-05-31 10:36:51 -03:00
parent f1710b90dc
commit aa2bbb2d35

View file

@ -52,7 +52,7 @@ struct llama_server_context
n_consumed = 0;
}
bool loadModel(gpt_params params_)
bool loadModel(const gpt_params &params_)
{
params = params_;
ctx = llama_init_from_gpt_params(params);