From 99ebeba7d66bf7cdef5be2a25d2556871745c867 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Wed, 29 Apr 2026 22:41:06 +0800 Subject: [PATCH] updated lite (+1 squashed commits) Squashed commits: [7cb5637f8] updated lite --- embd_res/klite.embd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/embd_res/klite.embd b/embd_res/klite.embd index ec416d353..961f03031 100644 --- a/embd_res/klite.embd +++ b/embd_res/klite.embd @@ -2270,16 +2270,16 @@ Current version indicated by LITEVER below. max-width: 75%; } - .chat_received_withd_msg p { + .chat_received_withd_msg .chat_para { font-size: 14px; margin: 0; - padding: 5px 10px 5px 12px; width: 100%; white-space: pre-wrap; } .chat_received_withd_msg { width: 100%; + padding: 5px 10px 5px 12px; background: var(--theme_color_ai_msg_bg) none repeat scroll 0 0; border-radius: 0 15px 15px 15px; color: var(--theme_color_ai_msg_fg); @@ -2292,11 +2292,10 @@ Current version indicated by LITEVER below. .chat_mesgs_inner{ padding: 2px 12px 2px 12px; } - .chat_sent_msg p { + .chat_sent_msg .chat_para { font-size: 14px; margin: 0; color: var(--theme_color_user_msg_fg); - padding: 5px 10px 5px 12px; width: 100%; white-space: pre-wrap; } @@ -2306,6 +2305,7 @@ Current version indicated by LITEVER below. overflow:auto; background: var(--theme_color_user_msg_bg); border-radius: 12px 15px 0px 15px; + padding: 5px 10px 5px 12px; } .chat_outgoing_msg { overflow: hidden; @@ -7185,7 +7185,7 @@ Current version indicated by LITEVER below. .then((data) => { console.log("sync finished response: " + JSON.stringify(data)); last_response_obj = JSON.parse(JSON.stringify(data)); - if ((custom_oai_key != "" || determine_if_mcp_active()) && data.choices != null && data.choices.length > 0) { + if ((custom_oai_key != "" || is_using_kcpp_with_jinja() || determine_if_mcp_active()) && data.choices != null && data.choices.length > 0) { let dch = data.choices[0]; if (dch.text) { synchro_polled_response = dch.text; @@ -26570,7 +26570,7 @@ Current version indicated by LITEVER below. { namepart = ""; } - newbodystr += `
`+namepart+curr.msg+`
`+namepart+curr.msg+`
` + escape_html(pending_context_preinjection) + format_streaming_text(escape_html(synchro_pending_stream)) + `