mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix ooba/kobold compat mode #96
This commit is contained in:
@@ -157,7 +157,7 @@ const sliders = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
function canUseKoboldStopSequence(version) {
|
function canUseKoboldStopSequence(version) {
|
||||||
return version.localeCompare(MIN_STOP_SEQUENCE_VERSION, undefined, { numeric: true, sensitivity: 'base' }) > -1;
|
return (version || '0.0.0').localeCompare(MIN_STOP_SEQUENCE_VERSION, undefined, { numeric: true, sensitivity: 'base' }) > -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
Reference in New Issue
Block a user