mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix 01.ai model nullifying on load
This commit is contained in:
@ -3921,7 +3921,7 @@ async function onModelChange() {
|
|||||||
oai_settings.groq_model = value;
|
oai_settings.groq_model = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($(this).is('#model_01ai_select')) {
|
if (value && $(this).is('#model_01ai_select')) {
|
||||||
console.log('01.AI model changed to', value);
|
console.log('01.AI model changed to', value);
|
||||||
oai_settings.zerooneai_model = value;
|
oai_settings.zerooneai_model = value;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user