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(-)
diff --git a/common/common.h b/common/common.h
index f8bc686..356d27f 100644
--- a/common/common.h
+++ b/common/common.h
@@ -468,7 +468,8 @@ struct common_params {
int32_t cache_ram_mib = 8192; // -1 = no limit, 0 - disable, 1 = 1 MiB, etc.
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 = true; // NOLINT
|