mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix OpenRouter model not persisting on page reload
This commit is contained in:
@@ -2537,7 +2537,7 @@ function getMaxContextWindowAI(value) {
|
|||||||
|
|
||||||
async function onModelChange() {
|
async function onModelChange() {
|
||||||
biasCache = undefined;
|
biasCache = undefined;
|
||||||
let value = String($(this).val());
|
let value = String($(this).val() || '');
|
||||||
|
|
||||||
if ($(this).is('#model_claude_select')) {
|
if ($(this).is('#model_claude_select')) {
|
||||||
console.log('Claude model changed to', value);
|
console.log('Claude model changed to', value);
|
||||||
|
Reference in New Issue
Block a user