mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-30 00:50:49 +02:00
updated lite
This commit is contained in:
+6
-2
@@ -4801,7 +4801,7 @@ Current version: 111
|
||||
|
||||
//check for tavernai fields
|
||||
if (new_loaded_storyobj.name != null || new_loaded_storyobj.description != null ||
|
||||
new_loaded_storyobj.personality != null) {
|
||||
new_loaded_storyobj.personality != null || new_loaded_storyobj.spec=="chara_card_v2") {
|
||||
load_tavern_obj(new_loaded_storyobj);
|
||||
}
|
||||
else if (new_loaded_storyobj.char_name != null || new_loaded_storyobj.char_persona != null) {
|
||||
@@ -8932,7 +8932,7 @@ Current version: 111
|
||||
|
||||
if(truncated_context.toLowerCase().trim().endsWith(endmatcher.toLowerCase().trim()))
|
||||
{
|
||||
pending_context_preinjection += "["+(new Date().toLocaleTimeString([], {year: 'numeric', month: 'numeric', day: 'numeric', hour: '2-digit', minute: '2-digit'}))+"] ";
|
||||
pending_context_preinjection += "["+(new Date().toLocaleTimeString([], {year: 'numeric', month: 'numeric', day: 'numeric', hour: '2-digit', minute: '2-digit'}))+"]";
|
||||
}
|
||||
}
|
||||
truncated_context += pending_context_preinjection;
|
||||
@@ -10348,6 +10348,10 @@ Current version: 111
|
||||
} else {
|
||||
pending_context_preinjection = instructendplaceholder;
|
||||
}
|
||||
if(localsettings.inject_timestamps_instruct)
|
||||
{
|
||||
pending_context_preinjection += "["+(new Date().toLocaleTimeString([], {year: 'numeric', month: 'numeric', day: 'numeric', hour: '2-digit', minute: '2-digit'}))+"]";
|
||||
}
|
||||
}
|
||||
submit_generation();
|
||||
idle_triggered_counter = nextcounter;
|
||||
|
||||
Reference in New Issue
Block a user