We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce99d50 + e5091c6 commit 0f66207Copy full SHA for 0f66207
controllers/llamaCPP.cc
@@ -355,15 +355,15 @@ void llamaCPP::loadModel(
355
if (!llama.load_model(params)) {
356
LOG_ERROR << "Error loading the model will exit the program";
357
Json::Value jsonResp;
358
- jsonResp["message"] = "Model loaded failed";
+ jsonResp["message"] = "Failed to load model";
359
auto resp = nitro_utils::nitroHttpJsonResponse(jsonResp);
360
resp->setStatusCode(drogon::k500InternalServerError);
361
callback(resp);
362
}
363
llama.initialize();
364
365
366
- jsonResp["message"] = "Model loaded successfully";
367
model_loaded = true;
368
369
0 commit comments