mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-17 21:20:41 +00:00
updated lite (+1 squashed commits)
Squashed commits: [7cb5637f8] updated lite
This commit is contained in:
parent
15efea7bf3
commit
99ebeba7d6
1 changed files with 8 additions and 8 deletions
|
|
@ -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 += `<div class="chat_outgoing_msg"><div class="chat_sent_msg"><p>`+namepart+curr.msg+`</p></div></div>`;
|
||||
newbodystr += `<div class="chat_outgoing_msg"><div class="chat_sent_msg"><span class="chat_para">`+namepart+curr.msg+`</span></div></div>`;
|
||||
}else{
|
||||
let oname = (curr.name?escape_html(curr.name):"");
|
||||
let onametrim = oname.trim();
|
||||
|
|
@ -26584,13 +26584,13 @@ Current version indicated by LITEVER below.
|
|||
{
|
||||
namepart = "";
|
||||
}
|
||||
newbodystr += `<div class="incoming_msg"><div class="chat_received_msg"><div class="chat_received_withd_msg"><p>`+namepart+curr.msg+`</p></div></div></div>`;
|
||||
newbodystr += `<div class="incoming_msg"><div class="chat_received_msg"><div class="chat_received_withd_msg"><span class="chat_para">`+namepart+curr.msg+`</span></div></div></div>`;
|
||||
}
|
||||
|
||||
}
|
||||
if(synchro_pending_stream!="")
|
||||
{
|
||||
newbodystr += `<div class="incoming_msg"><div class="chat_received_msg"><div class="chat_received_withd_msg"><p><span class="color_pendingtext pending_text">` + escape_html(pending_context_preinjection) + format_streaming_text(escape_html(synchro_pending_stream)) + `</span></p></div></div></div>`;
|
||||
newbodystr += `<div class="incoming_msg"><div class="chat_received_msg"><div class="chat_received_withd_msg"><span class="chat_para"><span class="color_pendingtext pending_text">` + escape_html(pending_context_preinjection) + format_streaming_text(escape_html(synchro_pending_stream)) + `</span></span></div></div></div>`;
|
||||
}
|
||||
|
||||
return newbodystr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue