mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix default model when loading preset
This commit is contained in:
@ -3979,8 +3979,9 @@ async function onModelChange() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($(this).is('#model_ai21_select')) {
|
if ($(this).is('#model_ai21_select')) {
|
||||||
if (value.startsWith('j2-')) {
|
if (value === '' || value.startsWith('j2-')) {
|
||||||
value = 'jamba-1.5-large';
|
value = 'jamba-1.5-large';
|
||||||
|
$('#model_ai21_select').val(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('AI21 model changed to', value);
|
console.log('AI21 model changed to', value);
|
||||||
|
Reference in New Issue
Block a user