diff --git a/Makefile b/Makefile index 45613419..0b237191 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ DETECT_LIBS?=true # llama.cpp versions GOLLAMA_REPO?=https://github.com/go-skynet/go-llama.cpp GOLLAMA_VERSION?=2b57a8ae43e4699d3dc5d1496a1ccd42922993be -CPPLLAMA_VERSION?=5fd89a70ead34d1a17015ddecad05aaa2490ca46 +CPPLLAMA_VERSION?=4b9afbbe9037f8a2d659097c0c7d9fce32c6494c # go-rwkv version RWKV_REPO?=https://github.com/donomii/go-rwkv.cpp diff --git a/backend/cpp/llama/grpc-server.cpp b/backend/cpp/llama/grpc-server.cpp index e8701d36..57ab46fe 100644 --- a/backend/cpp/llama/grpc-server.cpp +++ b/backend/cpp/llama/grpc-server.cpp @@ -480,7 +480,7 @@ struct llama_server_context n_ctx = llama_n_ctx(ctx); - add_bos_token = llama_should_add_bos_token(model); + add_bos_token = llama_add_bos_token(model); return true; }