Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 43d72fd

Browse files
authored
Merge pull request #52 from janhq/49-bug-windows-does-not-have-some-libs
49 bug windows does not have some libs
2 parents 1540f38 + e1baaa3 commit 43d72fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controllers/llamaCPP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ class llamaCPP : public drogon::HttpSimpleController<llamaCPP> {
14081408

14091409
// load the model
14101410
if (!llama.loadModel(params)) {
1411-
LOG_ERROR_LLAMA("Strange error","Error loading the model will exit the program");
1411+
LOG_ERROR << "Error loading the model will exit the program";
14121412
std::terminate();
14131413
}
14141414
nitro_utils::nitro_logo();

main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#include <drogon/drogon.h>
44

55
#if defined(__APPLE__) && defined(__MACH__)
6-
#include <mach-o/dyld.h>
76
#include <libgen.h> // for dirname()
7+
#include <mach-o/dyld.h>
88
#elif defined(__linux__)
99
#include <libgen.h> // for dirname()
1010
#include <unistd.h> // for readlink()

0 commit comments

Comments
 (0)