1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Christian Kastner <ckk@kvr.at>
Date: Mon, 19 May 2025 12:58:39 +0200
Subject: Specify default theme location
This location will be a symlink managed by update-alternatives(1) to
point to one of the many themes available.
Forwarded: not-needed
---
common/common.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: llama.cpp/common/common.h
===================================================================
--- llama.cpp.orig/common/common.h
+++ llama.cpp/common/common.h
@@ -427,7 +427,8 @@ struct common_params {
int32_t n_swa_checkpoints = 3; // max number of SWA checkpoints per slot
std::string hostname = "127.0.0.1";
- std::string public_path = ""; // NOLINT
+ // Debian-specific default theme location
+ std::string public_path = "/usr/share/llama.cpp-tools/llama-server/active-theme"; // NOLINT
std::string api_prefix = ""; // NOLINT
std::string chat_template = ""; // NOLINT
bool use_jinja = false; // NOLINT
|