modify llama.cpp branding on lcpp ui (+1 squashed commits)

Squashed commits:

[067343edf] modify llama.cpp branding on lcpp ui
This commit is contained in:
Concedo 2025-12-07 10:29:34 +08:00
parent d27949f22a
commit 8c17541cc0
6 changed files with 6 additions and 6 deletions

View file

@ -3833,7 +3833,7 @@ Change Mode<br>
elif self.path.endswith(('/.well-known/serviceinfo')):
response_body = (json.dumps({"version":"0.2","software":{"name":"KoboldCpp","version":KcppVersion,"repository":"https://github.com/LostRuins/koboldcpp","homepage":"https://github.com/LostRuins/koboldcpp","logo":"https://raw.githubusercontent.com/LostRuins/koboldcpp/refs/heads/concedo/niko.ico"},"api":{"koboldai":{"name":"KoboldAI API","rel_url":"/api","documentation":"https://lite.koboldai.net/koboldcpp_api","version":KcppVersion},"openai":{"name":"OpenAI API","rel_url ":"/v1","documentation":"https://openai.com/documentation/api","version":KcppVersion}}}).encode())
elif self.path=="/props":
elif self.path.split("?")[0]=="/props":
response_body = (json.dumps({
"chat_template": cached_chat_template,
"id": 0,