Safari bruh moment

This commit is contained in:
Cohee
2024-05-06 21:21:03 +03:00
parent 7063fce2af
commit c73bfbd7b0
3 changed files with 27 additions and 21 deletions

View File

@ -710,6 +710,19 @@ jQuery(function () {
}
$('#textgen_logit_bias_new_entry').on('click', () => createNewLogitBiasEntry(settings.logit_bias, BIAS_KEY));
$('#openrouter_providers_text').on('change', function () {
const selectedProviders = $(this).val();
// Not a multiple select?
if (!Array.isArray(selectedProviders)) {
return;
}
settings.openrouter_providers = selectedProviders;
saveSettingsDebounced();
});
});
function showTypeSpecificControls(type) {