updated llama.cpp web ui (+2 squashed commit)

Squashed commit:

[9b22ac6e4] more fixes for lcpp web ui,. will be squashed

[522b59b4c] henky tries using svelte or something
This commit is contained in:
Concedo
2025-11-24 00:24:14 +08:00
parent eeb7363985
commit 1cc4403cba
5 changed files with 15 additions and 2 deletions
+8
View File
@@ -3530,6 +3530,14 @@ Change Mode<br>
global embedded_kailite, embedded_kcpp_docs, embedded_kcpp_sdui, embedded_kailite_gz, embedded_kcpp_docs_gz, embedded_kcpp_sdui_gz, embedded_lcpp_ui_gz
global last_req_time, start_time, cached_chat_template, has_vision_support, has_audio_support, has_whisper, friendlymodelname
global savedata_obj, has_multiplayer, multiplayer_turn_major, multiplayer_turn_minor, multiplayer_story_data_compressed, multiplayer_dataformat, multiplayer_lastactive, maxctx, maxhordelen, friendlymodelname, lastuploadedcomfyimg, lastgeneratedcomfyimg, KcppVersion, totalgens, preloaded_story, exitcounter, currentusergenkey, friendlysdmodelname, fullsdmodelpath, password, friendlyembeddingsmodelname
if self.path=="/lcpp": #fix for svelte redirect issues, browser path needs to end with slash
self.path = "/lcpp/"
self.send_response(302)
self.send_header("location", self.path)
self.end_headers(content_type='text/html')
return None
self.path = self.path.rstrip('/')
response_body = None
content_type = 'application/json'