fix mac os ci error: string -> char*
This commit is contained in:
parent
33c2a25e3f
commit
9a1039d9ee
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ struct server_parallel_context {
|
|||
std::tie(model, ctx) = llama_init_from_gpt_params(params);
|
||||
if (model == nullptr)
|
||||
{
|
||||
LOG_TEE("unable to load model: %s", params.model);
|
||||
LOG_TEE("unable to load model: %s", params.model.c_str());
|
||||
return false;
|
||||
}
|
||||
n_ctx = llama_n_ctx(ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue