Fix OpenRouter model not persisting on page reload

This commit is contained in:
Cohee 2023-08-24 00:59:57 +03:00
parent d64c5880c8
commit 52c2fcd407

View File

@ -2537,7 +2537,7 @@ function getMaxContextWindowAI(value) {
async function onModelChange() {
biasCache = undefined;
let value = String($(this).val());
let value = String($(this).val() || '');
if ($(this).is('#model_claude_select')) {
console.log('Claude model changed to', value);