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
Binary file not shown.
+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'
@@ -39,7 +39,7 @@ export const SETTING_CONFIG_DEFAULT: Record<string, string | number | boolean> =
custom: '', // custom json-stringified object
// experimental features
pyInterpreterEnabled: false,
enableContinueGeneration: false
enableContinueGeneration: true
};
export const SETTING_CONFIG_INFO: Record<string, string> = {
+5 -1
View File
@@ -362,7 +362,11 @@ export class ChatService {
if (abortSignal?.aborted) break;
const { done, value } = await reader.read();
if (done) break;
if (done)
{
streamFinished = true;
break;
}
if (abortSignal?.aborted) break;
+1
View File
@@ -10,6 +10,7 @@ const config = {
kit: {
paths: {
base: '/lcpp',
relative: true
},
router: { type: 'hash' },