Fix default model when loading preset

662e29911c6a07352051ae69f40556c8edeb6046

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -1Ignore whitespace
public/scripts/openai.js+2 -1
@@ -3979,8 +3979,9 @@ async function onModelChange() {
39793979 }
39803980
39813981 if ($(this).is('#model_ai21_select')) {
39823982 if (value === '' || value.startsWith('j2-')) {
39833983 value = 'jamba-1.5-large';
3984+ $('#model_ai21_select').val(value);
39843985 }
39853986
39863987 console.log('AI21 model changed to', value);