Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/llamaCPP.h
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ class llamaCPP : public drogon::HttpSimpleController<llamaCPP> {

// load the model
if (!llama.loadModel(params)) {
LOG_ERROR_LLAMA("Strange error","Error loading the model will exit the program");
LOG_ERROR << "Error loading the model will exit the program";
std::terminate();
}
nitro_utils::nitro_logo();
Expand Down
2 changes: 1 addition & 1 deletion main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <drogon/drogon.h>

#if defined(__APPLE__) && defined(__MACH__)
#include <mach-o/dyld.h>
#include <libgen.h> // for dirname()
#include <mach-o/dyld.h>
#elif defined(__linux__)
#include <libgen.h> // for dirname()
#include <unistd.h> // for readlink()
Expand Down