fix mac os ci error: string -> char*

This commit is contained in:
FSSRepo 2023-10-03 18:36:47 -04:00
parent 13916dcf6c
commit 598e74c157

View file

@ -112,7 +112,7 @@ struct server_parallel_context {
std::tie(model, ctx) = llama_init_from_gpt_params(params); std::tie(model, ctx) = llama_init_from_gpt_params(params);
if (model == nullptr) 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; return false;
} }
n_ctx = llama_n_ctx(ctx); n_ctx = llama_n_ctx(ctx);