Fix 01.ai model nullifying on load

This commit is contained in:
Cohee 2024-07-06 15:30:21 +03:00
parent c55ad419dd
commit a6eec7ba1a

View File

@ -3921,7 +3921,7 @@ async function onModelChange() {
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);
oai_settings.zerooneai_model = value;
}