mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-16 20:09:41 +00:00
default max ctx to true max ctx if found
This commit is contained in:
parent
8faa6ed84d
commit
46c9785bb5
1 changed files with 5 additions and 1 deletions
|
@ -3740,7 +3740,7 @@ Current version: 136
|
|||
passed_ai_warning: false, //used to store AI safety panel acknowledgement state
|
||||
entersubmit: true, //enter sends the prompt
|
||||
|
||||
max_context_length: 1800,
|
||||
max_context_length: (localflag?2048:1600),
|
||||
max_length: 140,
|
||||
auto_ctxlen: true,
|
||||
auto_genamt: true,
|
||||
|
@ -7427,6 +7427,10 @@ Current version: 136
|
|||
{
|
||||
document.getElementById("max_context_length_slide").max = ep_maxctx;
|
||||
document.getElementById("max_context_length_slide_label").innerText = ep_maxctx;
|
||||
if(localflag && localsettings.max_context_length==2048 && ep_maxctx>2048)
|
||||
{
|
||||
localsettings.max_context_length = ep_maxctx;
|
||||
}
|
||||
}
|
||||
}).catch(error => {
|
||||
console.log("Failed to get true max ctx: " + error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue